aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-03-15 12:05:07 -0500
committerTed Gould <ted@canonical.com>2009-03-15 12:05:07 -0500
commite6a8b5ceaa942985c67663da288a68346fea8a38 (patch)
tree8b5afea5cf91736399db31e1260099b94dfd81d7 /src/app-menu-item.c
parent772b8553ed4c398ce4e73b37198444745febf64e (diff)
downloadayatana-indicator-messages-e6a8b5ceaa942985c67663da288a68346fea8a38.tar.gz
ayatana-indicator-messages-e6a8b5ceaa942985c67663da288a68346fea8a38.tar.bz2
ayatana-indicator-messages-e6a8b5ceaa942985c67663da288a68346fea8a38.zip
Putting in a sorting function to make sure that the individual indicators are always below the server that they're associated with.
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 1ab2ba8..d6d3e4a 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -267,3 +267,9 @@ app_menu_item_get_count (AppMenuItem * appitem)
return priv->unreadcount;
}
+IndicateListenerServer *
+app_menu_item_get_server (AppMenuItem * appitem) {
+ AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(appitem);
+
+ return priv->server;
+}