Hello community,

here is the log from the commit of package mate-menu for openSUSE:Factory 
checked in at 2017-06-29 15:19:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-menu (Old)
 and      /work/SRC/openSUSE:Factory/.mate-menu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-menu"

Thu Jun 29 15:19:34 2017 rev:16 rq:506924 version:17.10.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-menu/mate-menu.changes      2017-06-20 
09:40:00.167389026 +0200
+++ /work/SRC/openSUSE:Factory/.mate-menu.new/mate-menu.changes 2017-06-29 
15:19:51.432834957 +0200
@@ -1,0 +2,8 @@
+Wed Jun 28 19:20:44 UTC 2017 - [email protected]
+
+- Update to version 17.10.6:
+  * places: Fix desktop button.
+  * Allow mate-menu to receive event reports from other windows.
+- Remove mate-menu-17.10.5-desktop-button.patch.
+
+-------------------------------------------------------------------

Old:
----
  mate-menu-17.10.5-desktop-button.patch
  mate-menu_17.10.5.orig.tar.gz

New:
----
  mate-menu_17.10.6.orig.tar.gz

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

Other differences:
------------------
++++++ mate-menu.spec ++++++
--- /var/tmp/diff_new_pack.1ff8Va/_old  2017-06-29 15:19:56.796076832 +0200
+++ /var/tmp/diff_new_pack.1ff8Va/_new  2017-06-29 15:19:56.796076832 +0200
@@ -17,9 +17,9 @@
 
 
 %define _name   mate_menu
-%define _rev    685cf9684b62
+%define _rev    f42342bc3b49
 Name:           mate-menu
-Version:        17.10.5
+Version:        17.10.6
 Release:        0
 Summary:        Advanced MATE menu
 License:        GPL-2.0+
@@ -28,8 +28,6 @@
 Source:         
https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}.orig.tar.gz
 # PATCH-FEATURE-OPENSUSE mate-menu-yast2-software.patch [email protected] -- 
Use YaST2 and GNOME PackageKit package managers.
 Patch0:         %{name}-yast2-software.patch
-# PATCH-FIX-UPSTREAM mate-menu-17.10.5-desktop-button.patch 
[email protected] -- Fix desktop button in Places (commit 7f904dc).
-Patch1:         %{name}-17.10.5-desktop-button.patch
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
 BuildRequires:  python >= 2.7
@@ -68,7 +66,6 @@
 %prep
 %setup -q -n ubuntu-mate-%{name}-%{_rev}
 %patch0 -p1
-%patch1 -p1
 sed -i 's/su-to-root/xdg-su/g' %{_name}/execute.py
 
 %build

++++++ mate-menu_17.10.5.orig.tar.gz -> mate-menu_17.10.6.orig.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ubuntu-mate-mate-menu-685cf9684b62/lib/mate-menu.py 
new/ubuntu-mate-mate-menu-f42342bc3b49/lib/mate-menu.py
--- old/ubuntu-mate-mate-menu-685cf9684b62/lib/mate-menu.py     2017-06-13 
01:35:03.000000000 +0200
+++ new/ubuntu-mate-mate-menu-f42342bc3b49/lib/mate-menu.py     2017-06-24 
09:19:30.000000000 +0200
@@ -19,7 +19,7 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
-__VERSION__='17.10.5'
+__VERSION__='17.10.6'
 
 import gc
 import gi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-menu-685cf9684b62/mate_menu/keybinding.py 
new/ubuntu-mate-mate-menu-f42342bc3b49/mate_menu/keybinding.py
--- old/ubuntu-mate-mate-menu-685cf9684b62/mate_menu/keybinding.py      
2017-06-13 01:35:03.000000000 +0200
+++ new/ubuntu-mate-mate-menu-f42342bc3b49/mate_menu/keybinding.py      
2017-06-24 09:19:30.000000000 +0200
@@ -85,6 +85,15 @@
             self.keycode = 
self.keymap.get_entries_for_keyval(keyval)[1][0].keycode
         self.modifiers = int(modifiers)
 
+        # Request to receive key press/release reports from other windows that 
may not be using modifiers
+        catch = error.CatchError(error.BadWindow)
+        if self.modifiers:
+            self.window.change_attributes(onerror=catch, event_mask = 
X.KeyPressMask | X.KeyReleaseMask)
+        else:
+            self.window.change_attributes(onerror=catch, event_mask = 
X.NoEventMask)
+        if catch.get_error():
+            return False
+
         catch = error.CatchError(error.BadAccess)
         for ignored_mask in self.ignored_masks:
             mod = modifiers | ignored_mask
@@ -145,7 +154,9 @@
                         GLib.idle_add(self.idle)
                     self.display.allow_events(X.AsyncKeyboard, event.time)
                 else:
-                    self.display.send_event(self.window, event, X.KeyPressMask 
| X.KeyReleaseMask, True)
+                    # If we're not using modifiers, send the event up in case 
another window is listening to it
+                    if not self.modifiers:
+                        self.display.send_event(self.window, event, 
X.KeyPressMask | X.KeyReleaseMask, True)
                     self.display.allow_events(X.ReplayKeyboard, event.time)
                     wait_for_release = False
             except AttributeError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-menu-685cf9684b62/mate_menu/plugins/places.py 
new/ubuntu-mate-mate-menu-f42342bc3b49/mate_menu/plugins/places.py
--- old/ubuntu-mate-mate-menu-685cf9684b62/mate_menu/plugins/places.py  
2017-06-13 01:35:03.000000000 +0200
+++ new/ubuntu-mate-mate-menu-f42342bc3b49/mate_menu/plugins/places.py  
2017-06-24 09:19:30.000000000 +0200
@@ -188,8 +188,8 @@
                 configPath = os.environ.get("XDG_CONFIG_HOME",
                                             os.path.join( os.environ["HOME"], 
".config"))
                 config = ConfigObj(os.path.join(configPath, "user-dirs.dirs"))
-                tmpdesktopDir = config['XDG_DESKTOP_DIR']
-                if os.path.exists(os.path.expandvars(tmpdesktopDir)):
+                tmpdesktopDir = os.path.expandvars(config['XDG_DESKTOP_DIR'])
+                if os.path.exists(tmpdesktopDir):
                     desktopDir = tmpdesktopDir
             except Exception, detail:
                 print detail


Reply via email to