aboutsummaryrefslogtreecommitdiff
path: root/src/im-menu.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2014-04-08 16:24:38 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-04-08 16:24:38 +0000
commitab9d26c0746ac61895522ce62a98150ad0e1f942 (patch)
treeab839a51dbea3e2d53b2d3f1c6947feb63dea52f /src/im-menu.h
parent8782213594a5d08cb16a964dec3e3232cae18b24 (diff)
parentde9c80835a2facd1957d580f01e81209294406f6 (diff)
downloadayatana-indicator-messages-ab9d26c0746ac61895522ce62a98150ad0e1f942.tar.gz
ayatana-indicator-messages-ab9d26c0746ac61895522ce62a98150ad0e1f942.tar.bz2
ayatana-indicator-messages-ab9d26c0746ac61895522ce62a98150ad0e1f942.zip
Don't show the messaging menu and the status section when no app is registered for them Fixes: 1225063
Diffstat (limited to 'src/im-menu.h')
-rw-r--r--src/im-menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/im-menu.h b/src/im-menu.h
index 7c15eb7..57815b5 100644
--- a/src/im-menu.h
+++ b/src/im-menu.h
@@ -53,6 +53,9 @@ gboolean im_menu_export (ImMenu
const gchar *object_path,
GError **error);
+void im_menu_prepend_section (ImMenu *menu,
+ GMenuModel *section);
+
void im_menu_append_section (ImMenu *menu,
GMenuModel *section);