From 8997aa45b13c9ab4993761457840b10847ffe6dc Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 1 Dec 2011 12:33:07 -0500 Subject: [PATCH] popupMenu: Remove app. from app actions --- js/ui/popupMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index c6dc3df31..4e9d1579e 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1752,6 +1752,7 @@ const RemoteMenu = new Lang.Class({ } let action_id = model.get_item_attribute_value(index, Gio.MENU_ATTRIBUTE_ACTION, null).deep_unpack(); + action_id = action_id.replace('app.', ''); if (!this.actionGroup.has_action(action_id)) { // the action may not be there yet, wait for action-added return [null, false, 'action-added'];