diff options
author | Ted Gould <ted@gould.cx> | 2010-04-16 09:52:41 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-16 09:52:41 -0500 |
commit | 5271a3e64e853d774d2684b27675678457e1cfd1 (patch) | |
tree | ca59ba6ab213de80ab3fbcba99e7f2e480def70e /src/app-menu-item.h | |
parent | 5f4f845baf5171e73bd38d33cfd503f7200f162b (diff) | |
download | ayatana-indicator-messages-5271a3e64e853d774d2684b27675678457e1cfd1.tar.gz ayatana-indicator-messages-5271a3e64e853d774d2684b27675678457e1cfd1.tar.bz2 ayatana-indicator-messages-5271a3e64e853d774d2684b27675678457e1cfd1.zip |
Changing the changed signal to be added/removed so that we can make things even more fun.
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 { |