Author: jsuchome Date: Tue Aug 3 15:27:30 2010 New Revision: 62333 URL: http://svn.opensuse.org/viewcvs/yast?rev=62333&view=rev Log: - in text mode, set the timezone when leaving dialog (bnc#617861) - 2.19.18 Modified: trunk/country/VERSION 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=62333&r1=62332&r2=62333&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Tue Aug 3 15:27:30 2010 @@ -1 +1 @@ -2.19.17 +2.19.18 Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=62333&r1=62332&r2=62333&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Tue Aug 3 15:27:30 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Aug 3 15:26:11 CEST 2010 - jsuchome@suse.cz + +- in text mode, set the timezone when leaving dialog (bnc#617861) +- 2.19.18 + +------------------------------------------------------------------- Fri Jun 25 10:47:20 CEST 2010 - jsuchome@suse.cz - Console.ycp: correct parsing of the kernel line (bnc#604699) Modified: trunk/country/timezone/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/dialogs.ycp?rev=62333&r1=62332&r2=62333&view=diff ============================================================================== --- trunk/country/timezone/src/dialogs.ycp (original) +++ trunk/country/timezone/src/dialogs.ycp Tue Aug 3 15:27:30 2010 @@ -766,6 +766,19 @@ } else if (ret == `settime) { + // timezone was not adapted in ncurses (bnc#617861) + if (textmode) + { + string tz = selected_timezone (); + if (tz != timezone) + { + timezone = tz; + if (timezone != timezone_old) + changed_time = true; + timezone_old = timezone; + SetTimezone (hwclock_s, timezone, false, changed_time); + } + } if (SetTimeDialog()) { Timezone::diff = 0; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org