diff options
author | Ted Gould <ted@gould.cx> | 2010-02-18 12:21:04 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-18 12:21:04 -0600 |
commit | 8fe010b29ccc4d32c2bc326b67fc9ff1f63b05df (patch) | |
tree | b03109c0f8ff20b52161da7b906ac8962ca31835 /src/app-menu-item.h | |
parent | d1741b51fc36866b182fe3e70f54fef45adae2f6 (diff) | |
parent | b9713df6cd2898e5f86d8dcf1f39634bc1cc6736 (diff) | |
download | ayatana-indicator-messages-8fe010b29ccc4d32c2bc326b67fc9ff1f63b05df.tar.gz ayatana-indicator-messages-8fe010b29ccc4d32c2bc326b67fc9ff1f63b05df.tar.bz2 ayatana-indicator-messages-8fe010b29ccc4d32c2bc326b67fc9ff1f63b05df.zip |
* Upstream release 0.3.2
* Removing extra ref
* Moving locally defined variable to use the one defined in
the function to fix a NULL pointer. (lp: #518547)
* Disconnect the count changed signal property
* Adding static desktop shortcuts to application items
* Adding dynamic application menuitems
* Switching application menu items to remove descriptions
and add in application icons
Diffstat (limited to 'src/app-menu-item.h')
-rw-r--r-- | src/app-menu-item.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app-menu-item.h b/src/app-menu-item.h index 583d50d..48a7cfa 100644 --- a/src/app-menu-item.h +++ b/src/app-menu-item.h @@ -37,8 +37,9 @@ G_BEGIN_DECLS #define IS_APP_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APP_MENU_ITEM_TYPE)) #define APP_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APP_MENU_ITEM_TYPE, AppMenuItemClass)) -#define APP_MENU_ITEM_SIGNAL_COUNT_CHANGED "count-changed" -#define APP_MENU_ITEM_SIGNAL_NAME_CHANGED "name-changed" +#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" typedef struct _AppMenuItem AppMenuItem; typedef struct _AppMenuItemClass AppMenuItemClass; @@ -48,6 +49,7 @@ struct _AppMenuItemClass { void (* count_changed) (guint count); void (* name_changed) (gchar * name); + void (* shortcuts_changed) (void); }; struct _AppMenuItem { @@ -60,6 +62,7 @@ guint app_menu_item_get_count (AppMenuItem * appitem); IndicateListenerServer * app_menu_item_get_server (AppMenuItem * appitem); const gchar * app_menu_item_get_name (AppMenuItem * appitem); const gchar * app_menu_item_get_desktop (AppMenuItem * appitem); +GList * app_menu_item_get_items (AppMenuItem * appitem); G_END_DECLS |