Hello community,

here is the log from the commit of package mate-menu for openSUSE:Factory 
checked in at 2016-01-13 22:46:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-menu (Old)
 and      /work/SRC/openSUSE:Factory/.mate-menu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-menu"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-menu/mate-menu.changes      2016-01-01 
19:49:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mate-menu.new/mate-menu.changes 2016-01-13 
22:46:01.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Jan 11 15:30:48 UTC 2016 - [email protected]
+
+- Add missing lsb-release and python-gobject dependencies
+  (boo#959024).
+- Add 0003-fix-configurator-crash.patch: fix crash in mate-menu
+  configurator.
+
+-------------------------------------------------------------------

New:
----
  0003-fix-configurator-crash.patch

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

Other differences:
------------------
++++++ mate-menu.spec ++++++
--- /var/tmp/diff_new_pack.NZVrm6/_old  2016-01-13 22:46:02.000000000 +0100
+++ /var/tmp/diff_new_pack.NZVrm6/_new  2016-01-13 22:46:02.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mate-menu
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,8 @@
 Patch2:         0002-xterm-no-symlink-dep.patch
 # PATCH-FEATURE-OPENSUSE 0002-yast2-software.patch [email protected] -- Use 
YaST2 and GNOME PackageKit package managers.
 Patch3:         0002-yast2-software.patch
+# PATCH-FIX-UPSTREAM 0003-fix-configurator-crash.patch [email protected] -- 
Fix crash in mate-menu configurator.
+Patch4:         0003-fix-configurator-crash.patch
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
 BuildRequires:  python >= 2.4
@@ -44,10 +46,11 @@
 Requires:       gvfs
 Requires:       libmate-desktop-2-17
 Requires:       libmate-panel-applet-4-1
+Requires:       lsb-release
 Requires:       mate-menus
 Requires:       mozo
 Requires:       python-configobj
-Requires:       python-gtk
+Requires:       python-gobject
 Requires:       python-mate-menus
 Requires:       python-xdg
 Requires:       python-xlib
@@ -72,6 +75,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 sed -i 's/su-to-root/xdg-su/g' %{_name}/execute.py
 
 %build

++++++ 0003-fix-configurator-crash.patch ++++++
--- a/lib/mate-menu-config.py
+++ b/lib/mate-menu-config.py
@@ -383,8 +383,11 @@ class mateMenuConfig( object ):
         self.headingColorLabel.set_sensitive(  widget.get_active() )
 
     def getBackgroundColor( self ):
-        color = Gdk.Color(0,0,0)
-        self.backgroundColor.get_color(color)
+        try:
+            color = self.backgroundColor.get_color()
+        except TypeError:
+            color = Gdk.Color(0, 0, 0)
+            self.backgroundColor.get_color(color)
         return self.gdkColorToString( color )
 
     def getBorderColor( self ):

Reply via email to