aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-18 11:19:27 -0600
committerTed Gould <ted@gould.cx>2010-02-18 11:19:27 -0600
commit0bae7a38701b3493e2e4053e18ff68b791ba5f01 (patch)
tree9cad80b0dac3bf2d86b9ff32ad43b6c9f4735c35 /src/app-menu-item.h
parent70f526991a2659346e589d898eb26a6a6f507d28 (diff)
parent8faa2e2c57e7e152029e93adb06aa576180e24be (diff)
downloadayatana-indicator-messages-0bae7a38701b3493e2e4053e18ff68b791ba5f01.tar.gz
ayatana-indicator-messages-0bae7a38701b3493e2e4053e18ff68b791ba5f01.tar.bz2
ayatana-indicator-messages-0bae7a38701b3493e2e4053e18ff68b791ba5f01.zip
Getting dynamic items from libindicate and dbusmenu
Diffstat (limited to 'src/app-menu-item.h')
-rw-r--r--src/app-menu-item.h7
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