Hello community,

here is the log from the commit of package yast2-geo-cluster for 
openSUSE:Factory checked in at 2016-05-31 12:24:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-geo-cluster (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-geo-cluster.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-geo-cluster"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-geo-cluster/yast2-geo-cluster.changes      
2016-02-18 12:36:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-geo-cluster.new/yast2-geo-cluster.changes 
2016-05-31 12:24:59.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 30 08:39:27 UTC 2016 - nw...@suse.com
+
+- bsc#982166. Disable "Edit" and "Del" buttons when no conf.
+- Version 3.1.13
+
+-------------------------------------------------------------------

Old:
----
  yast2-geo-cluster-3.1.12.tar.bz2

New:
----
  yast2-geo-cluster-3.1.13.tar.bz2

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

Other differences:
------------------
++++++ yast2-geo-cluster.spec ++++++
--- /var/tmp/diff_new_pack.Isi7Bg/_old  2016-05-31 12:24:59.000000000 +0200
+++ /var/tmp/diff_new_pack.Isi7Bg/_new  2016-05-31 12:24:59.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-geo-cluster
-Version:        3.1.12
+Version:        3.1.13
 Release:        0
 
 %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services

++++++ yast2-geo-cluster-3.1.12.tar.bz2 -> yast2-geo-cluster-3.1.13.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-geo-cluster-3.1.12/package/yast2-geo-cluster.changes 
new/yast2-geo-cluster-3.1.13/package/yast2-geo-cluster.changes
--- old/yast2-geo-cluster-3.1.12/package/yast2-geo-cluster.changes      
2016-02-18 04:25:09.000000000 +0100
+++ new/yast2-geo-cluster-3.1.13/package/yast2-geo-cluster.changes      
2016-05-30 10:46:06.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon May 30 08:39:27 UTC 2016 - nw...@suse.com
+
+- bsc#982166. Disable "Edit" and "Del" buttons when no conf.
+- Version 3.1.13
+
+-------------------------------------------------------------------
 Thu Feb 18 01:46:25 UTC 2016 - nw...@suse.com
 
 - bsc#967024. Correct the popup message.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-geo-cluster-3.1.12/package/yast2-geo-cluster.spec 
new/yast2-geo-cluster-3.1.13/package/yast2-geo-cluster.spec
--- old/yast2-geo-cluster-3.1.12/package/yast2-geo-cluster.spec 2016-02-18 
04:25:09.000000000 +0100
+++ new/yast2-geo-cluster-3.1.13/package/yast2-geo-cluster.spec 2016-05-30 
10:46:06.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-geo-cluster
-Version:        3.1.12
+Version:        3.1.13
 Release:        0
 
 %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-geo-cluster-3.1.12/src/include/geo-cluster/dialogs.rb 
new/yast2-geo-cluster-3.1.13/src/include/geo-cluster/dialogs.rb
--- old/yast2-geo-cluster-3.1.12/src/include/geo-cluster/dialogs.rb     
2016-02-18 04:25:09.000000000 +0100
+++ new/yast2-geo-cluster-3.1.13/src/include/geo-cluster/dialogs.rb     
2016-05-30 10:46:06.000000000 +0200
@@ -406,6 +406,16 @@
       deep_copy(conf_list)
     end
 
+    def configuration_button_switch
+      if GeoCluster.global_files.size == 0
+        UI.ChangeWidget(Id(:conf_edit), :Enabled, false)
+        UI.ChangeWidget(Id(:conf_del), :Enabled, false)
+      else
+        UI.ChangeWidget(Id(:conf_edit), :Enabled, true)
+        UI.ChangeWidget(Id(:conf_del), :Enabled, true)
+      end
+    end
+
     def ServiceDialog
       ret = nil
       event = {}
@@ -831,6 +841,7 @@
         )
 
         conf_list = fill_conf_entries
+        configuration_button_switch
         ret = UI.UserInput
 
         if ret == :conf_add


Reply via email to