aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-17 13:48:53 -0600
committerTed Gould <ted@gould.cx>2010-02-17 13:48:53 -0600
commit3c93168a4518426fb28f06c3635b7f32fad2f6a1 (patch)
treebc74a8fd5cc8e01741a8a6eb414d541f3c41324b /src
parent7fe4f584da23a4438ea500c56bc3b642db3e69e2 (diff)
downloadayatana-indicator-messages-3c93168a4518426fb28f06c3635b7f32fad2f6a1.tar.gz
ayatana-indicator-messages-3c93168a4518426fb28f06c3635b7f32fad2f6a1.tar.bz2
ayatana-indicator-messages-3c93168a4518426fb28f06c3635b7f32fad2f6a1.zip
Adding API for getting items
Diffstat (limited to 'src')
-rw-r--r--src/app-menu-item.c8
-rw-r--r--src/app-menu-item.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 5fc2a9c..b1b2a02 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -309,3 +309,11 @@ app_menu_item_get_desktop (AppMenuItem * appitem)
AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(appitem);
return priv->desktop;
}
+
+/* Get the dynamic items added onto the end of
+ and app entry. */
+GList *
+app_menu_item_get_items (AppMenuItem * appitem)
+{
+ return NULL;
+}
diff --git a/src/app-menu-item.h b/src/app-menu-item.h
index 583d50d..fe16c75 100644
--- a/src/app-menu-item.h
+++ b/src/app-menu-item.h
@@ -60,6 +60,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