[gnome-shell] popupMenu: Remove app. from app actions
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] popupMenu: Remove app. from app actions
- Date: Tue, 20 Dec 2011 22:37:43 +0000 (UTC)
commit 8a029f333fffce2b3d98e538fcc3757e30e972a7
Author: Colin Walters <walters verbum org>
Date: Thu Dec 1 12:33:07 2011 -0500
popupMenu: Remove app. from app actions
js/ui/popupMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index c6dc3df..4e9d157 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'];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]