Mailinglist Archive: yast-commit (503 mails)
| < Previous | Next > |
[yast-commit] r41151 - /trunk/ntp-client/src/ntp-client_proposal.ycp
- From: kmachalkova@xxxxxxxxxxxxxxxx
- Date: Thu, 27 Sep 2007 15:28:57 -0000
- Message-id: <20070927152858.0719B2815F@xxxxxxxxxxxxxxxx>
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_proposal.ycp?rev=41151&r1=41150&r2=41151&view=diff
==============================================================================
--- 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
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_proposal.ycp?rev=41151&r1=41150&r2=41151&view=diff
==============================================================================
--- 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |