[gnome-shell/eos3.8: 112/255] appDisplay: Remove contextual menu's item for "Show Details"
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 112/255] appDisplay: Remove contextual menu's item for "Show Details"
- Date: Wed, 10 Jun 2020 19:07:23 +0000 (UTC)
commit b2e0c0446f744ecb99d48d3d4e541fcc15f670d9
Author: Mario Sanchez Prada <mario endlessm com>
Date: Fri Jun 30 01:45:43 2017 +0000
appDisplay: Remove contextual menu's item for "Show Details"
This is currently broken for flatpak applications, let's remove it too.
https://phabricator.endlessm.com/T18013
js/ui/appDisplay.js | 19 -------------------
1 file changed, 19 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index ecd4c89766..56a876204a 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -2385,25 +2385,6 @@ var AppIconMenu = class AppIconMenu extends PopupMenu.PopupMenu {
this.emit('activate-window', null);
});
}
-
- if (Shell.AppSystem.get_default().lookup_app('org.gnome.Software.desktop')) {
- this._appendSeparator();
- let item = this._appendMenuItem(_("Show Details"));
- item.connect('activate', () => {
- let id = this._source.app.get_id();
- let args = GLib.Variant.new('(ss)', [id, '']);
- Gio.DBus.get(Gio.BusType.SESSION, null, (o, res) => {
- let bus = Gio.DBus.get_finish(res);
- bus.call('org.gnome.Software',
- '/org/gnome/Software',
- 'org.gtk.Actions', 'Activate',
- GLib.Variant.new('(sava{sv})',
- ['details', [args], null]),
- null, 0, -1, null, null);
- Main.overview.hide();
- });
- });
- }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]