Hello community,

here is the log from the commit of package yast2-packager for openSUSE:Factory 
checked in at 2014-06-08 13:36:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-packager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2014-06-02 07:00:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes       
2014-06-08 13:36:57.000000000 +0200
@@ -1,0 +2,7 @@
+Fri May 30 16:55:25 UTC 2014 - [email protected]
+
+- allow adding a title to license dialog (needed for on-line
+  extensions)
+- 3.1.21
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-3.1.20.tar.bz2

New:
----
  yast2-packager-3.1.21.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.KCGhUz/_old  2014-06-08 13:36:58.000000000 +0200
+++ /var/tmp/diff_new_pack.KCGhUz/_new  2014-06-08 13:36:58.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.20
+Version:        3.1.21
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-packager-3.1.20.tar.bz2 -> yast2-packager-3.1.21.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.20/package/yast2-packager.changes 
new/yast2-packager-3.1.21/package/yast2-packager.changes
--- old/yast2-packager-3.1.20/package/yast2-packager.changes    2014-05-28 
11:21:48.000000000 +0200
+++ new/yast2-packager-3.1.21/package/yast2-packager.changes    2014-06-02 
10:59:28.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri May 30 16:55:25 UTC 2014 - [email protected]
+
+- allow adding a title to license dialog (needed for on-line
+  extensions)
+- 3.1.21
+
+-------------------------------------------------------------------
 Wed May 28 07:36:38 UTC 2014 - [email protected]
 
 - text improvements for adding media-based add-on product during
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.20/package/yast2-packager.spec 
new/yast2-packager-3.1.21/package/yast2-packager.spec
--- old/yast2-packager-3.1.20/package/yast2-packager.spec       2014-05-28 
11:21:48.000000000 +0200
+++ new/yast2-packager-3.1.21/package/yast2-packager.spec       2014-06-02 
10:59:28.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.20
+Version:        3.1.21
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.20/src/modules/ProductLicense.rb 
new/yast2-packager-3.1.21/src/modules/ProductLicense.rb
--- old/yast2-packager-3.1.20/src/modules/ProductLicense.rb     2014-05-28 
11:21:48.000000000 +0200
+++ new/yast2-packager-3.1.21/src/modules/ProductLicense.rb     2014-06-02 
10:59:28.000000000 +0200
@@ -274,6 +274,8 @@
       lang_pairs = Builtins.maplist(languages) do |l|
         name_print = Ops.get(lang_names, l, "")
         if name_print == ""
+          # TODO FIXME: the language code might be longer than 2 characters,
+          # e.g. "ast_ES"
           l_short = Builtins.substring(l, 0, 2)
 
           Builtins.foreach(lang_names) do |k, v|
@@ -459,12 +461,16 @@
       )
     end
 
+    # Displays License dialog
+    def DisplayLicenseDialog(languages, back, license_language, licenses, id)
+      # dialog title
+      DisplayLicenseDialogWithTitle(languages, back, license_language, 
licenses, id, _("License Agreement"))
+    end
+
     # Displays License with Help and ( ) Yes / ( ) No radio buttons
     # @param string file with the license
-    def DisplayLicenseDialog(languages, back, license_language, licenses, id)
+    def DisplayLicenseDialogWithTitle(languages, back, license_language, 
licenses, id, caption)
       languages = deep_copy(languages)
-      # dialog caption
-      caption = _("License Agreement")
 
       contents = (
         licenses_ref = arg_ref(licenses.value);

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to