Author: jsuchome Date: Thu Apr 23 11:32:06 2009 New Revision: 56929 URL: http://svn.opensuse.org/viewcvs/yast?rev=56929&view=rev Log: - before NTP sync, save the current time zone (bnc#467318) - before updating boot menu, switch the UI language (bnc#446982) - 2.18.5 Modified: trunk/country/VERSION trunk/country/language/src/language.ycp trunk/country/package/yast2-country.changes trunk/country/timezone/src/dialogs.ycp Modified: trunk/country/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=56929&r1=56928&r2=56929&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Thu Apr 23 11:32:06 2009 @@ -1 +1 @@ -2.18.4 +2.18.5 Modified: trunk/country/language/src/language.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/language/src/language.ycp?rev=56929&r1=56928&r2=56929&view=diff ============================================================================== --- trunk/country/language/src/language.ycp (original) +++ trunk/country/language/src/language.ycp Thu Apr 23 11:32:06 2009 @@ -120,6 +120,10 @@ Progress::NextStage (); + // switch the UI to new language (after packages installation), so + // the texts in GfxMenu can be translated (bnc#446982) + Language::WfmSetLanguage (); + GfxMenu::Update(); if (Keyboard::Modified ()) @@ -147,7 +151,7 @@ Wizard::CreateDialog(); - // set the language accoring to Language.ycp initialization + // set the language according to Language.ycp initialization Language::WfmSetLanguage (); Wizard::OpenOKDialog(); Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=56929&r1=56928&r2=56929&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Thu Apr 23 11:32:06 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Apr 23 08:46:45 CEST 2009 - jsuchome@suse.cz + +- before NTP sync, save the current time zone (bnc#467318) +- before updating boot menu, switch the UI language (bnc#446982) +- 2.18.5 + +------------------------------------------------------------------- Thu Apr 16 10:53:38 CEST 2009 - jsuchome@suse.cz - adapted testsuite for date call change (bnc#445670) Modified: trunk/country/timezone/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/dialogs.ycp?rev=56929&r1=56928&r2=56929&view=diff ============================================================================== --- trunk/country/timezone/src/dialogs.ycp (original) +++ trunk/country/timezone/src/dialogs.ycp Thu Apr 23 11:32:06 2009 @@ -124,7 +124,7 @@ // check current time and show it in the time widgets void show_current_time () { - map val = Timezone::GetDateTimeMap(); + map val = Timezone::GetDateTimeMap (); hour = val["hour"]:""; minute = val["minute"]:""; second = val["second"]:""; @@ -288,10 +288,17 @@ if (ret == `accept && ntp_rb) { + // before the sync, save the time zone (bnc#467318) + Timezone::Set (Timezone::timezone, Stage::initial () && !Mode::live_installation ()); // true: go on, exit; false: loop on boolean ntp_handled = (boolean) ntp_call ("ui_try_save", $[]); if (!ntp_handled) ret = `retry; // loop on + else + { + // after sync, show real time in the widget + Timezone::diff = 0; + } } if (ret == `accept && !ntp_rb) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org