aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-17 13:09:39 -0500
committerTed Gould <ted@gould.cx>2010-04-17 13:09:39 -0500
commita81b15ba551c12251cb6eadd6380350ac430ac45 (patch)
tree898d9a875c5d85e5a459215fa3c290d1ef117f5e /src/app-menu-item.h
parent83fe2a9416de7302c5ff3a0dde8ef554372caa26 (diff)
parent2b49e0c0ab5d2c6563342d664d6470264fd4fcd3 (diff)
downloadayatana-indicator-messages-a81b15ba551c12251cb6eadd6380350ac430ac45.tar.gz
ayatana-indicator-messages-a81b15ba551c12251cb6eadd6380350ac430ac45.tar.bz2
ayatana-indicator-messages-a81b15ba551c12251cb6eadd6380350ac430ac45.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 {