File 0003-fix-configurator-crash.patch of Package mate-menu.openSUSE_Leap_42.1_Update
--- 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 ):