Hello community,
here is the log from the commit of package yast2-country
checked in at Fri Aug 17 19:03:11 CEST 2007.
--------
--- yast2-country/yast2-country.changes 2007-08-09 16:25:02.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-country/yast2-country.changes 2007-08-17 15:13:07.813974000 +0200
@@ -1,0 +2,8 @@
+Fri Aug 17 14:34:32 CEST 2007 - jsuchome@suse.cz
+
+- when non-listed locale is selected, add it to the list of
+ primary languages (#301019)
+- add autoyast support for use_utf8 and rootlang values (#289546)
+- 2.15.18
+
+-------------------------------------------------------------------
Old:
----
yast2-country-2.15.17.tar.bz2
New:
----
yast2-country-2.15.18.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-country.spec ++++++
--- /var/tmp/diff_new_pack.B10416/_old 2007-08-17 19:03:03.000000000 +0200
+++ /var/tmp/diff_new_pack.B10416/_new 2007-08-17 19:03:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-country (Version 2.15.17)
+# spec file for package yast2-country (Version 2.15.18)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-country
-Version: 2.15.17
+Version: 2.15.18
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-country-2.15.17.tar.bz2
+Source0: yast2-country-2.15.18.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-perl-bindings yast2-testsuite
Requires: yast2-trans-stats yast2-perl-bindings timezone
@@ -64,7 +64,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-country-2.15.17
+%setup -n yast2-country-2.15.18
%build
%{prefix}/bin/y2tool y2autoconf
@@ -111,6 +111,11 @@
%{prefix}/share/applications/YaST2/timezone.desktop
%changelog
+* Fri Aug 17 2007 - jsuchome@suse.cz
+- when non-listed locale is selected, add it to the list of
+ primary languages (#301019)
+- add autoyast support for use_utf8 and rootlang values (#289546)
+- 2.15.18
* Thu Aug 09 2007 - jsuchome@suse.cz
- during live installation config, do not automatically adapt
keyboard layout to the language (#298792)
++++++ yast2-country-2.15.17.tar.bz2 -> yast2-country-2.15.18.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-country-2.15.17/keyboard/src/modules/Keyboard.ycp new/yast2-country-2.15.18/keyboard/src/modules/Keyboard.ycp
--- old/yast2-country-2.15.17/keyboard/src/modules/Keyboard.ycp 2007-08-09 15:11:21.000000000 +0200
+++ new/yast2-country-2.15.18/keyboard/src/modules/Keyboard.ycp 2007-08-09 16:25:23.000000000 +0200
@@ -13,7 +13,7 @@
*
* Maintainer: Jiri Suchomel
*
- * $Id: Keyboard.ycp 39978 2007-08-06 10:46:16Z jsuchome $
+ * $Id: Keyboard.ycp 40134 2007-08-09 14:25:22Z jsuchome $
*
* Usage:
* ------
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-country-2.15.17/language/src/modules/Language.ycp new/yast2-country-2.15.18/language/src/modules/Language.ycp
--- old/yast2-country-2.15.17/language/src/modules/Language.ycp 2007-07-27 10:10:31.000000000 +0200
+++ new/yast2-country-2.15.18/language/src/modules/Language.ycp 2007-08-17 14:34:14.000000000 +0200
@@ -855,6 +855,8 @@
Set (settings["language"]:language);
languages = settings["languages"]:languages;
+ SetExpertValues (settings);
+
list<string> llanguages = splitstring (languages, ",");
if (!contains (llanguages, language))
{
@@ -881,6 +883,10 @@
"language" : language,
"languages" : languages
];
+ if (rootlang != "ctype")
+ ret["rootlang"] = rootlang;
+ if (!use_utf8)
+ ret["use_utf8"] = use_utf8;
return ret;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-country-2.15.17/language/src/select_language.ycp new/yast2-country-2.15.18/language/src/select_language.ycp
--- old/yast2-country-2.15.17/language/src/select_language.ycp 2007-08-03 13:16:38.000000000 +0200
+++ new/yast2-country-2.15.18/language/src/select_language.ycp 2007-08-16 16:48:07.000000000 +0200
@@ -260,11 +260,6 @@
show_expert = false;
more_languages = false;
}
- if (Mode::config ())
- {
- show_expert = false;
- }
-
// sort language by ASCII with help of a map
// $[ "ascii-name" : [ "user-readable-string", "code" ], ...]
@@ -319,10 +314,10 @@
// if checkboxes for adapting keyboard and timezone should be shown
boolean adapt_term = more_languages && !Mode::config ();
+ list<term> primary_items = [];
if (more_languages)
{
boolean primary_included= false;
- list primary_items = [];
term languages_term = `MultiSelectionBox (`id(`languages),
// multiselection box label
@@ -499,6 +494,21 @@
Wizard::ShowHelp( help_text );
}
+ if (ret == `changed_locale)
+ {
+ boolean primary_included = false;
+ if (nil == find (term i, primary_items,``(i[0,0]:nil == language)))
+ {
+ primary_items = add (primary_items,
+ `item (`id (language), language, true));
+ UI::ChangeWidget (`id(`language), `Items, primary_items);
+ };
+ if (Mode::config ())
+ {
+ Language::Set (language);
+ }
+ }
+
if (ret == `next ||
((ret == `language || ret == `changed_locale) && ! Mode::config ()))
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-country-2.15.17/VERSION new/yast2-country-2.15.18/VERSION
--- old/yast2-country-2.15.17/VERSION 2007-08-09 15:25:00.000000000 +0200
+++ new/yast2-country-2.15.18/VERSION 2007-08-17 14:35:48.000000000 +0200
@@ -1 +1 @@
-2.15.17
+2.15.18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org