aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-menu-item.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-01-15 00:02:41 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-01-15 00:02:41 +0100
commit8b8ef8b6921a29226562f908dd51d241dccb7d97 (patch)
tree1681f94fefe6965c66f3919eed2690d8c16fca69 /src/indicator-menu-item.h
parent3540dc7d8fd0ef1f6b27c3c39760d0442912c2b1 (diff)
downloadayatana-indicator-printers-8b8ef8b6921a29226562f908dd51d241dccb7d97.tar.gz
ayatana-indicator-printers-8b8ef8b6921a29226562f908dd51d241dccb7d97.tar.bz2
ayatana-indicator-printers-8b8ef8b6921a29226562f908dd51d241dccb7d97.zip
indicator-menu-item: add get functions for label and right text
Diffstat (limited to 'src/indicator-menu-item.h')
-rw-r--r--src/indicator-menu-item.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/indicator-menu-item.h b/src/indicator-menu-item.h
index e577a7d..fc27b73 100644
--- a/src/indicator-menu-item.h
+++ b/src/indicator-menu-item.h
@@ -45,8 +45,11 @@ struct _IndicatorMenuItemClass
GType indicator_menu_item_get_type (void) G_GNUC_CONST;
IndicatorMenuItem *indicator_menu_item_new (void);
-void indicator_menu_item_set_right (IndicatorMenuItem *self, const gchar *text);
+
+const gchar * indicator_menu_item_get_label (IndicatorMenuItem *self);
void indicator_menu_item_set_label (IndicatorMenuItem *self, const gchar *text);
+const gchar * indicator_menu_item_get_right (IndicatorMenuItem *self);
+void indicator_menu_item_set_right (IndicatorMenuItem *self, const gchar *text);
gboolean indicator_menu_item_get_right_is_lozenge (IndicatorMenuItem *self);
void indicator_menu_item_set_right_is_lozenge (IndicatorMenuItem *self, gboolean is_lozenge);