commit mate-menu for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package mate-menu for openSUSE:Factory checked in at 2017-04-03 11:05:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mate-menu (Old) and /work/SRC/openSUSE:Factory/.mate-menu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mate-menu" Mon Apr 3 11:05:19 2017 rev:10 rq:484068 version:17.04.3 Changes: -------- --- /work/SRC/openSUSE:Factory/mate-menu/mate-menu.changes 2017-03-20 17:11:54.529994656 +0100 +++ /work/SRC/openSUSE:Factory/.mate-menu.new/mate-menu.changes 2017-04-03 11:06:01.323933765 +0200 @@ -1,0 +2,9 @@ +Fri Mar 31 11:05:58 UTC 2017 - sor.alexei@meowr.ru + +- Update to version 17.04.3: + * Menu icon: Scale SVG files to 22px to prevent them from getting + too big. + * Fix launching some Wine applications. + * Better categories hovering state. + +------------------------------------------------------------------- Old: ---- mate-menu_17.04.2.orig.tar.gz New: ---- mate-menu_17.04.3.orig.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mate-menu.spec ++++++ --- /var/tmp/diff_new_pack.XJ1ytn/_old 2017-04-03 11:06:02.135819059 +0200 +++ /var/tmp/diff_new_pack.XJ1ytn/_new 2017-04-03 11:06:02.139818494 +0200 @@ -17,9 +17,9 @@ %define _name mate_menu -%define _rev f13d0b5158b8 +%define _rev f4328f0400ec Name: mate-menu -Version: 17.04.2 +Version: 17.04.3 Release: 0 Summary: Advanced MATE menu License: GPL-2.0+ ++++++ mate-menu_17.04.2.orig.tar.gz -> mate-menu_17.04.3.orig.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ubuntu-mate-mate-menu-f13d0b5158b8/lib/mate-menu-config.py new/ubuntu-mate-mate-menu-f4328f0400ec/lib/mate-menu-config.py --- old/ubuntu-mate-mate-menu-f13d0b5158b8/lib/mate-menu-config.py 2017-03-17 15:10:44.000000000 +0100 +++ new/ubuntu-mate-mate-menu-f4328f0400ec/lib/mate-menu-config.py 2017-03-29 00:36:39.000000000 +0200 @@ -27,7 +27,7 @@ gi.require_version("Gtk", "3.0") -from gi.repository import Gtk, Gdk +from gi.repository import Gtk, Gdk, GdkPixbuf import mate_menu.keybinding as keybinding signal.signal(signal.SIGINT, signal.SIG_DFL) @@ -348,7 +348,8 @@ def setButtonIcon( self, value ): self.buttonIconChooser.set_filename(value) - self.buttonIconImage.set_from_file(value) + pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(value, -1, 22) + self.buttonIconImage.set_from_pixbuf(pixbuf) def getShowButtonIcon( self ): return not self.showButtonIcon.get_active() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ubuntu-mate-mate-menu-f13d0b5158b8/lib/mate-menu.py new/ubuntu-mate-mate-menu-f4328f0400ec/lib/mate-menu.py --- old/ubuntu-mate-mate-menu-f13d0b5158b8/lib/mate-menu.py 2017-03-17 15:10:44.000000000 +0100 +++ new/ubuntu-mate-mate-menu-f4328f0400ec/lib/mate-menu.py 2017-03-29 00:36:39.000000000 +0200 @@ -19,7 +19,7 @@ # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -__VERSION__='17.04.2' +__VERSION__='17.04.3' import gc import gi @@ -576,13 +576,17 @@ self.do_image(self.buttonIcon, False) def do_image(self, image_file, saturate): - pixbuf = GdkPixbuf.Pixbuf.new_from_file(image_file) + if image_file.endswith(".svg"): + pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(image_file, -1, 22) + else: + pixbuf = GdkPixbuf.Pixbuf.new_from_file(image_file) if saturate: GdkPixbuf.Pixbuf.saturate_and_pixelate(pixbuf, pixbuf, 1.5, False) self.button_icon.set_from_pixbuf(pixbuf) def createPanelButton( self ): - self.button_icon = Gtk.Image.new_from_file( self.buttonIcon ) + self.button_icon = Gtk.Image() + self.do_image(self.buttonIcon, False) self.systemlabel = Gtk.Label(label= "%s " % self.buttonText ) try: process = subprocess.Popen(['lsb_release', '-d'], stdout=subprocess.PIPE) @@ -681,7 +685,7 @@ def updateButton( self ): self.systemlabel.set_text( self.buttonText ) self.button_icon.clear() - self.button_icon.set_from_file( self.buttonIcon ) + self.do_image(self.buttonIcon, False) self.sizeButton() def bind_hot_key (self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ubuntu-mate-mate-menu-f13d0b5158b8/mate_menu/easybuttons.py new/ubuntu-mate-mate-menu-f4328f0400ec/mate_menu/easybuttons.py --- old/ubuntu-mate-mate-menu-f13d0b5158b8/mate_menu/easybuttons.py 2017-03-17 15:10:44.000000000 +0100 +++ new/ubuntu-mate-mate-menu-f4328f0400ec/mate_menu/easybuttons.py 2017-03-29 00:36:39.000000000 +0200 @@ -305,7 +305,7 @@ self.appName = self.strip_accents(desktopItem.getName()) self.appGenericName = self.strip_accents(desktopItem.getGenericName()) self.appComment = self.strip_accents(desktopItem.getComment()) - self.appExec = self.strip_accents(desktopItem.getExec()) + self.appExec = self.strip_accents(desktopItem.getExec().replace('\\\\', '\\')) self.appIconName = desktopItem.getIcon() self.appCategories = desktopItem.getCategories() self.appMateDocPath = desktopItem.get( "X-MATE-DocPath" ) or "" @@ -567,6 +567,7 @@ def __init__( self, iconName, iconSize, labels , f ): easyButton.__init__( self, iconName, iconSize, labels ) self.filter = f + self.set_focus_on_click(False) iconManager = IconManager() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ubuntu-mate-mate-menu-f13d0b5158b8/mate_menu/plugins/applications.py new/ubuntu-mate-mate-menu-f4328f0400ec/mate_menu/plugins/applications.py --- old/ubuntu-mate-mate-menu-f13d0b5158b8/mate_menu/plugins/applications.py 2017-03-17 15:10:44.000000000 +0100 +++ new/ubuntu-mate-mate-menu-f4328f0400ec/mate_menu/plugins/applications.py 2017-03-29 00:36:39.000000000 +0200 @@ -640,7 +640,6 @@ self.current_results = [] for i in self.categoriesBox.get_children(): - i.released() i.set_relief( Gtk.ReliefStyle.NONE ) allButton = self.categoriesBox.get_children()[0]; @@ -662,7 +661,6 @@ i.filterCategory( category ) for i in self.categoriesBox.get_children(): - i.released() i.set_relief( Gtk.ReliefStyle.NONE ) widget.set_relief( Gtk.ReliefStyle.HALF )
participants (1)
-
root@hilbert.suse.de