Hello community,

here is the log from the commit of package yast2-add-on for openSUSE:Factory 
checked in at 2017-11-04 10:21:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-add-on (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-add-on.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-add-on"

Sat Nov  4 10:21:56 2017 rev:85 rq:537887 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-add-on/yast2-add-on.changes        
2017-10-23 16:42:37.066657501 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-add-on.new/yast2-add-on.changes   
2017-11-04 10:21:57.130901807 +0100
@@ -1,0 +2,8 @@
+Tue Oct 31 12:41:46 UTC 2017 - [email protected]
+
+- Hide the "I would like to install an additional Add On Product"
+  check box after pressing "Add" button (fix up for the previous
+  change) (bsc#1065843)
+- 4.0.2
+
+-------------------------------------------------------------------

Old:
----
  yast2-add-on-4.0.1.tar.bz2

New:
----
  yast2-add-on-4.0.2.tar.bz2

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

Other differences:
------------------
++++++ yast2-add-on.spec ++++++
--- /var/tmp/diff_new_pack.Tvef8b/_old  2017-11-04 10:21:57.938872436 +0100
+++ /var/tmp/diff_new_pack.Tvef8b/_new  2017-11-04 10:21:57.942872290 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-add-on
-Version:        4.0.1
+Version:        4.0.2
 Release:        0
 Summary:        YaST2 - Add-On media installation code
 License:        GPL-2.0

++++++ yast2-add-on-4.0.1.tar.bz2 -> yast2-add-on-4.0.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-add-on-4.0.1/package/yast2-add-on.changes 
new/yast2-add-on-4.0.2/package/yast2-add-on.changes
--- old/yast2-add-on-4.0.1/package/yast2-add-on.changes 2017-10-19 
13:41:57.610353693 +0200
+++ new/yast2-add-on-4.0.2/package/yast2-add-on.changes 2017-10-31 
13:50:18.641458430 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Tue Oct 31 12:41:46 UTC 2017 - [email protected]
+
+- Hide the "I would like to install an additional Add On Product"
+  check box after pressing "Add" button (fix up for the previous
+  change) (bsc#1065843)
+- 4.0.2
+
+-------------------------------------------------------------------
 Thu Oct 19 11:14:52 UTC 2017 - [email protected]
 
 - Allow preselecting the add-on URL schema and hiding the "I would
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-add-on-4.0.1/package/yast2-add-on.spec 
new/yast2-add-on-4.0.2/package/yast2-add-on.spec
--- old/yast2-add-on-4.0.1/package/yast2-add-on.spec    2017-10-19 
13:41:57.614353693 +0200
+++ new/yast2-add-on-4.0.2/package/yast2-add-on.spec    2017-10-31 
13:50:18.641458430 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-add-on
-Version:        4.0.1
+Version:        4.0.2
 Release:        0
 Summary:        YaST2 - Add-On media installation code
 License:        GPL-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-add-on-4.0.1/src/include/add-on/add-on-workflow.rb 
new/yast2-add-on-4.0.2/src/include/add-on/add-on-workflow.rb
--- old/yast2-add-on-4.0.1/src/include/add-on/add-on-workflow.rb        
2017-10-19 13:41:57.682353693 +0200
+++ new/yast2-add-on-4.0.2/src/include/add-on/add-on-workflow.rb        
2017-10-31 13:50:18.645458430 +0100
@@ -1151,8 +1151,11 @@
           # following runs it makes no sense as user explicitly wants to add 
an addon.
           # Change the state only if it has the default value (nil),
           # if the check box state has been already set then keep it unchanged.
-          if SourceDialogs.display_addon_checkbox.nil?
-            SourceDialogs.display_addon_checkbox = (ret == :skip_to_add)
+          if SourceDialogs.display_addon_checkbox.nil? && ret == :skip_to_add
+            SourceDialogs.display_addon_checkbox = true
+          # never display the checkbox after pressing [Add]
+          elsif SourceDialogs.display_addon_checkbox && ret == :add
+            SourceDialogs.display_addon_checkbox = false
           end
 
           # bugzilla #293428


Reply via email to