From 02e40d02a643e730d1fb0d0429e13513c9ea9dfc69c44f9b5e4dc8669e5dbf06 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 30 Apr 2020 09:42:28 +0000 Subject: [PATCH 1/2] Accepting request 799080 from GNOME:Next New stable release, NOT BUILDTESTED! OBS-URL: https://build.opensuse.org/request/show/799080 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=216 --- gnome-shell-extensions-3.36.1.tar.xz | 3 --- gnome-shell-extensions-3.36.2.tar.xz | 3 +++ gnome-shell-extensions.changes | 7 +++++++ gnome-shell-extensions.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 gnome-shell-extensions-3.36.1.tar.xz create mode 100644 gnome-shell-extensions-3.36.2.tar.xz diff --git a/gnome-shell-extensions-3.36.1.tar.xz b/gnome-shell-extensions-3.36.1.tar.xz deleted file mode 100644 index c1a124c..0000000 --- a/gnome-shell-extensions-3.36.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de18927a7d0f5652628d97f03e102c84e576b9c873a878b8e1a53c21183b5039 -size 207980 diff --git a/gnome-shell-extensions-3.36.2.tar.xz b/gnome-shell-extensions-3.36.2.tar.xz new file mode 100644 index 0000000..860b3d4 --- /dev/null +++ b/gnome-shell-extensions-3.36.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:978202de515cdb03a5885859c538366bca8fd78762ce98b172ac2c0126f8003f +size 207976 diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index b0b7df6..2441403 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 30 05:26:25 UTC 2020 - Bjørn Lie + +- Update to version 3.36.2: + + Misc. bug fixes and cleanups. + + Updated translations. + ------------------------------------------------------------------- Fri Apr 17 03:36:01 UTC 2020 - Bjørn Lie diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index 7167268..e2af01d 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -19,7 +19,7 @@ %global __requires_exclude typelib\\(Meta\\) Name: gnome-shell-extensions -Version: 3.36.1 +Version: 3.36.2 Release: 0 Summary: A collection of extensions for GNOME Shell License: GPL-2.0-or-later From 0edb240021c8cf5893b5d24bc5baae8224f277ebfe41c871d9e2be66c236dadb Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 30 Apr 2020 09:45:54 +0000 Subject: [PATCH 2/2] Accepting request 798799 from home:xiaoguang_wang:branches:GNOME:Factory - Update gnome-shell-add-app-to-desktop.patch: Remove error in journal log(bsc#1170761). OBS-URL: https://build.opensuse.org/request/show/798799 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=217 --- gnome-shell-add-app-to-desktop.patch | 35 ++++++++++++++-------------- gnome-shell-extensions.changes | 6 +++++ 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/gnome-shell-add-app-to-desktop.patch b/gnome-shell-add-app-to-desktop.patch index b483820..4e4ab79 100644 --- a/gnome-shell-add-app-to-desktop.patch +++ b/gnome-shell-add-app-to-desktop.patch @@ -1,7 +1,7 @@ -Index: gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js +Index: gnome-shell-extensions-3.34.2/extensions/apps-menu/extension.js =================================================================== ---- gnome-shell-extensions-3.33.91.orig/extensions/apps-menu/extension.js -+++ gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js +--- gnome-shell-extensions-3.34.2.orig/extensions/apps-menu/extension.js ++++ gnome-shell-extensions-3.34.2/extensions/apps-menu/extension.js @@ -5,6 +5,8 @@ const { Atk, Clutter, Gio, GLib, GMenu, GObject, Gtk, Meta, Shell, St, } = imports.gi; @@ -31,7 +31,7 @@ Index: gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js }); this._updateIcon(); -@@ -62,6 +75,106 @@ class ApplicationMenuItem extends PopupM +@@ -62,6 +75,107 @@ class ApplicationMenuItem extends PopupM }; } @@ -44,15 +44,15 @@ Index: gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js + // close any opened menu to avoid input focus grab + if (this._menu && this._menu.isOpen) { + this._menu.close(); -+ return; ++ return Clutter.EVENT_STOP; + } + + let button = event.get_button(); + if (button == 3) { + this.popupMenu(); -+ return true; ++ return Clutter.EVENT_STOP; + } -+ return false; ++ return Clutter.EVENT_PROPAGATE + } + + popupMenu() { @@ -61,6 +61,8 @@ Index: gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js + let openItem = new PopupMenu.PopupMenuItem(_("Open")); + this._menu.addMenuItem(openItem); + openItem.connect('activate', () => { ++ this._menu.destroy(); ++ this._menu = null; + this._app.open_new_window(-1); + this._button.selectCategory(null, null); + this._button.menu.toggle(); @@ -107,19 +109,18 @@ Index: gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js + destDirPath = Glib.build_filenamev([GLib.get_home_dir(), "Desktop"]); + } + let destFile = Gio.File.new_for_path(destDirPath + '/' + sourceFile.get_basename()); -+ if (sourceFile.copy(destFile, Gio.FileCopyFlags.OVERWRITE, -+ null, null, null)) { ++ if (sourceFile.copy(destFile, Gio.FileCopyFlags.OVERWRITE, null, null)) { + // In order to make the general monitor recognize the setting of metadata, + // this function call should before the setting of unix mode. -+ destFile.set_attribute_string("metadata::trusted", -+ "yes", -+ Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS, -+ null); -+ destFile.set_attribute_uint32( -+ Gio.FILE_ATTRIBUTE_UNIX_MODE, parseInt("0755", 8), -+ Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS, -+ null); ++ let info = new Gio.FileInfo(); ++ info.set_attribute_string('metadata::trusted', 'true'); ++ destFile.set_attributes_from_info(info, ++ Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS, null); ++ destFile.set_attribute_uint32( Gio.FILE_ATTRIBUTE_UNIX_MODE, parseInt("0755", 8), ++ Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS, null); + } ++ this._menu.destroy(); ++ this._menu = null; + this._button.selectCategory(null, null); + this._button.menu.toggle(); + }); diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index 2441403..66995a9 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -5,6 +5,12 @@ Thu Apr 30 05:26:25 UTC 2020 - Bjørn Lie + Misc. bug fixes and cleanups. + Updated translations. +------------------------------------------------------------------- +Wed Apr 29 03:43:20 UTC 2020 - Xiaoguang Wang + +- Update gnome-shell-add-app-to-desktop.patch: Remove error in + journal log(bsc#1170761). + ------------------------------------------------------------------- Fri Apr 17 03:36:01 UTC 2020 - Bjørn Lie