diff options
author | Ted Gould <ted@gould.cx> | 2010-04-17 12:59:06 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-17 12:59:06 -0500 |
commit | f4641dce597538d52bde59ca8f98a79d741f04e6 (patch) | |
tree | fefbc362578f5113e6d136632d775f66c6809c2e /src/app-menu-item.h | |
parent | a05571c978dba6f33773a664bbb1672038fbad93 (diff) | |
parent | e879cc91687bded6248f806ee711c73bfc57fb8b (diff) | |
download | ayatana-indicator-messages-f4641dce597538d52bde59ca8f98a79d741f04e6.tar.gz ayatana-indicator-messages-f4641dce597538d52bde59ca8f98a79d741f04e6.tar.bz2 ayatana-indicator-messages-f4641dce597538d52bde59ca8f98a79d741f04e6.zip |
Ensure that we cleanup proxy items as shortcuts.
Diffstat (limited to 'src/app-menu-item.h')
-rw-r--r-- | src/app-menu-item.h | 6 |
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 { |