[yast-commit] r47198 - in /trunk/ntp-client: package/yast2-ntp-client.changes src/ntp-client_proposal.ycp
Author: mvidner Date: Wed Apr 30 11:10:39 2008 New Revision: 47198 URL: http://svn.opensuse.org/viewcvs/yast?rev=47198&view=rev Log: Avoid "UI syntax error" when Write is called from the timezone module (bnc#384715). Modified: trunk/ntp-client/package/yast2-ntp-client.changes trunk/ntp-client/src/ntp-client_proposal.ycp Modified: trunk/ntp-client/package/yast2-ntp-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ntp-client/package/yast2-ntp-client.changes?rev=47198&r1=47197&r2=47198&view=diff ============================================================================== --- trunk/ntp-client/package/yast2-ntp-client.changes (original) +++ trunk/ntp-client/package/yast2-ntp-client.changes Wed Apr 30 11:10:39 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Apr 30 11:10:27 CEST 2008 - mvidner@suse.cz + +- Avoid "UI syntax error" when Write is called from the timezone + module (bnc#384715). + +------------------------------------------------------------------- Wed Apr 16 10:45:26 CEST 2008 - mvidner@suse.cz - Merged proofread texts. 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=47198&r1=47197&r2=47198&view=diff ============================================================================== --- trunk/ntp-client/src/ntp-client_proposal.ycp (original) +++ trunk/ntp-client/src/ntp-client_proposal.ycp Wed Apr 30 11:10:39 2008 @@ -207,6 +207,8 @@ integer status = -1; string service_name = NtpClient::service_name; + Popup::ShowFeedback("", _("Synchronizing with NTP server...")); + //Stop NTP service on running system (during 1st stage, we don't care) if( !Stage::initial()) { @@ -217,7 +219,6 @@ Service::Stop (service_name); } - Popup::ShowFeedback("", _("Synchronizing with NTP server...")); y2milestone("Running ntpdate to sync with %1", ntp_server); integer r = (integer) SCR::Execute (.target.bash, sformat ("/usr/sbin/ntpdate '%1'", String::Quote(ntp_server))); @@ -229,6 +230,8 @@ Service::Start(service_name); } + Popup::ClearFeedback(); + if (r == 0) { ret = `success; @@ -249,8 +252,6 @@ } else ret = `ntpdate_failed; - - Popup::ClearFeedback(); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mvidner@svn.opensuse.org