diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index f86a7bb67..012e88bd0 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -3531,8 +3531,7 @@ var AppIconMenu = class AppIconMenu extends PopupMenu.PopupMenu { if (Shell.AppSystem.get_default().lookup_app('org.gnome.Software.desktop')) { this._appendSeparator(); - let item = this._appendMenuItem(_("Show Details")); - item.connect('activate', async () => { + this.addAction(_('Show Details'), async () => { let id = this._source.app.get_id(); let args = GLib.Variant.new('(ss)', [id, '']); const bus = await Gio.DBus.get(Gio.BusType.SESSION, null);