diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-01-10 19:08:13 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-01-10 19:08:13 +0100 |
commit | 73a3251a56739878beb43510f2b26e360ea244cc (patch) | |
tree | 8de247667e12507ad69d4a045aa8cfcd0d28b07b /gnome-extra/gnome-shell-extensions/files | |
parent | gnome-extra/gnome-shell-extensions: Version bump, uses adwaita-icon-theme ico... (diff) | |
download | gentoo-73a3251a56739878beb43510f2b26e360ea244cc.tar.gz gentoo-73a3251a56739878beb43510f2b26e360ea244cc.tar.bz2 gentoo-73a3251a56739878beb43510f2b26e360ea244cc.zip |
gnome-extra/gnome-shell-extensions: Drop old
Package-Manager: portage-2.2.26
Diffstat (limited to 'gnome-extra/gnome-shell-extensions/files')
3 files changed, 0 insertions, 108 deletions
diff --git a/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-apps-menu.patch b/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-apps-menu.patch deleted file mode 100644 index 5c8ca713858f..000000000000 --- a/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-apps-menu.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 1958ce779467f03672e8d72afa45e2ab14bee5f5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> -Date: Wed, 16 Dec 2015 22:32:59 +0100 -Subject: apps-menu: Remove unused variable - -https://bugzilla.gnome.org/show_bug.cgi?id=759004 ---- - extensions/apps-menu/extension.js | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js -index 3180f3a..925d344 100644 ---- a/extensions/apps-menu/extension.js -+++ b/extensions/apps-menu/extension.js -@@ -405,10 +405,8 @@ const ApplicationsButton = new Lang.Class({ - continue; - } - let app = appSys.lookup_app(id); -- if (appInfo.should_show()) { -- let menu_id = dir.get_menu_id(); -+ if (appInfo.should_show()) - this.applicationsByCategory[categoryId].push(app); -- } - } else if (nextType == GMenu.TreeItemType.DIRECTORY) { - let subdir = iter.get_directory(); - if (!subdir.get_is_nodisplay()) --- -cgit v0.11.2 - diff --git a/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-apps-menu2.patch b/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-apps-menu2.patch deleted file mode 100644 index 31dbaf279b40..000000000000 --- a/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-apps-menu2.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 79c76a87e29e5ca70e74f3d62857c341a4ecae6c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> -Date: Wed, 16 Dec 2015 18:46:42 +0100 -Subject: apps-menu: Fix .desktop entries in subdirectories - -GMenu's TreeEntries return an AppInfo that is created from the -.desktop filename, not from a desktop ID as expected by the -AppSystem. As a result, g_app_info_get_id() will simply return -the file's basename, which only matches the desktop ID if no -prefix-to-subdirectory mapping as described in the menu spec -is involved. -Fix this by basing the app lookup on the entry's desktop ID instead -of the AppInfo. - -https://bugzilla.gnome.org/show_bug.cgi?id=759004 ---- - extensions/apps-menu/extension.js | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js -index 925d344..796d235 100644 ---- a/extensions/apps-menu/extension.js -+++ b/extensions/apps-menu/extension.js -@@ -397,15 +397,14 @@ const ApplicationsButton = new Lang.Class({ - while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) { - if (nextType == GMenu.TreeItemType.ENTRY) { - let entry = iter.get_entry(); -- let appInfo = entry.get_app_info(); - let id; - try { -- id = appInfo.get_id(); // catch non-UTF8 filenames -+ id = entry.get_desktop_file_id(); // catch non-UTF8 filenames - } catch(e) { - continue; - } - let app = appSys.lookup_app(id); -- if (appInfo.should_show()) -+ if (app.get_app_info().should_show()) - this.applicationsByCategory[categoryId].push(app); - } else if (nextType == GMenu.TreeItemType.DIRECTORY) { - let subdir = iter.get_directory(); --- -cgit v0.11.2 - diff --git a/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-revert-encodings.patch b/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-revert-encodings.patch deleted file mode 100644 index 8764998aac61..000000000000 --- a/gnome-extra/gnome-shell-extensions/files/gnome-shell-extensions-3.18.2-revert-encodings.patch +++ /dev/null @@ -1,35 +0,0 @@ -From d1bf592539095ed6a1fd5f0f9ff0351e56bfa156 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> -Date: Fri, 31 Jul 2015 02:14:58 +0200 -Subject: apps-menu: Handle non-UTF8 filename encodings more gracefully - -Instead of failing completely if any .desktop file uses a filename -encoding other than UTF-8, just filter out the offending apps. - -https://bugzilla.gnome.org/show_bug.cgi?id=651503 ---- - extensions/apps-menu/extension.js | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js -index 0c7e6c6..ddd8458 100644 ---- a/extensions/apps-menu/extension.js -+++ b/extensions/apps-menu/extension.js -@@ -393,7 +393,13 @@ const ApplicationsButton = new Lang.Class({ - if (nextType == GMenu.TreeItemType.ENTRY) { - let entry = iter.get_entry(); - let appInfo = entry.get_app_info(); -- let app = appSys.lookup_app(entry.get_desktop_file_id()); -+ let id; -+ try { -+ id = appInfo.get_id(); // catch non-UTF8 filenames -+ } catch(e) { -+ continue; -+ } -+ let app = appSys.lookup_app(id); - if (appInfo.should_show()) { - let menu_id = dir.get_menu_id(); - this.applicationsByCategory[categoryId].push(app); --- -cgit v0.11.2 - |