aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-04-19 15:51:06 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-04-19 15:51:06 +0200
commit4a18da41cf64d80e9f7b78550289e2bfb0c60ace (patch)
tree1cfab2b89aa4ec5aeca601953bd7e45d56b6f387 /src/app-menu-item.h
parentc1e8acc9fb568cd2a245442a326587ea09df4839 (diff)
parentf77f555099857bac208d1cfd6d005ac2e56cf032 (diff)
downloadayatana-indicator-messages-4a18da41cf64d80e9f7b78550289e2bfb0c60ace.tar.gz
ayatana-indicator-messages-4a18da41cf64d80e9f7b78550289e2bfb0c60ace.tar.bz2
ayatana-indicator-messages-4a18da41cf64d80e9f7b78550289e2bfb0c60ace.zip
* Upstream Merge
* When loading desktop files check to see if they've already been eclipsed by an app. (LP: #549096) * Track better application shortcuts and ensure that they get removed when the application is. (LP: #539167)
Diffstat (limited to 'src/app-menu-item.h')
-rw-r--r--src/app-menu-item.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app-menu-item.h b/src/app-menu-item.h
index 48a7cfa..d616856 100644
--- a/src/app-menu-item.h
+++ b/src/app-menu-item.h
@@ -39,7 +39,8 @@ G_BEGIN_DECLS
#define APP_MENU_ITEM_SIGNAL_COUNT_CHANGED "count-changed"
#define APP_MENU_ITEM_SIGNAL_NAME_CHANGED "name-changed"
-#define APP_MENU_ITEM_SIGNAL_SHORTCUTS_CHANGED "shortcuts-changed"
+#define APP_MENU_ITEM_SIGNAL_SHORTCUT_ADDED "shortcut-added"
+#define APP_MENU_ITEM_SIGNAL_SHORTCUT_REMOVED "shortcut-removed"
typedef struct _AppMenuItem AppMenuItem;
typedef struct _AppMenuItemClass AppMenuItemClass;
@@ -49,7 +50,8 @@ struct _AppMenuItemClass {
void (* count_changed) (guint count);
void (* name_changed) (gchar * name);
- void (* shortcuts_changed) (void);
+ void (* shortcut_added) (DbusmenuMenuitem * mi);
+ void (* shortcut_removed) (DbusmenuMenuitem * mi);
};
struct _AppMenuItem {