[yast-commit] r41151 - /trunk/ntp-client/src/ntp-client_proposal.ycp
![](https://seccdn.libravatar.org/avatar/d95f774280866d45941b1365718208ff.jpg?s=120&d=mm&r=g)
Author: kmachalkova Date: Thu Sep 27 17:28:57 2007 New Revision: 41151 URL: http://svn.opensuse.org/viewcvs/yast?rev=41151&view=rev Log: Added visual feedback for running ntpdate in installation proposal (#328469) Modified: trunk/ntp-client/src/ntp-client_proposal.ycp Modified: trunk/ntp-client/src/ntp-client_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ntp-client/src/ntp-client_proposa... ============================================================================== --- trunk/ntp-client/src/ntp-client_proposal.ycp (original) +++ trunk/ntp-client/src/ntp-client_proposal.ycp Thu Sep 27 17:28:57 2007 @@ -17,6 +17,7 @@ import "Package"; import "Packages"; import "Pkg"; +import "Popup"; y2milestone("----------------------------------------"); y2milestone("Ntp client proposal started"); @@ -147,6 +148,7 @@ ret = `invalid_hostname; else { + Popup::ShowFeedback("", _("Synchronizing with NTP server...")); y2milestone("Running ntpdate to sync with %1", ntp_server); integer status = -1; @@ -173,6 +175,7 @@ Packages::addAdditionalPackage("yast2-ntp-client"); integer r = (integer) SCR::Execute (.target.bash, sformat ("/usr/sbin/ntpdate '%1'", String::Quote(ntp_server))); + Popup::ClearFeedback(); y2milestone ("'ntpdate %1' returned %2", ntp_server, r); if( !Stage::initial()) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org