From 1e56f31341ecdb60456929a3d6d07bb16409b399 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Sat, 14 Jan 2012 23:51:10 +0100 Subject: Add the possibility to set an icon on indicator-menu-item --- src/indicator-menu-item.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/indicator-menu-item.h') diff --git a/src/indicator-menu-item.h b/src/indicator-menu-item.h index 39c456a..a5f3407 100644 --- a/src/indicator-menu-item.h +++ b/src/indicator-menu-item.h @@ -48,6 +48,11 @@ IndicatorMenuItem *indicator_menu_item_new (void); void indicator_menu_item_set_right (IndicatorMenuItem *self, const gchar *text); void indicator_menu_item_set_label (IndicatorMenuItem *self, const gchar *text); +const gchar * indicator_menu_item_get_icon_name (IndicatorMenuItem *self); +void indicator_menu_item_set_icon (IndicatorMenuItem *self, GdkPixbuf *icon); +GdkPixbuf * indicator_menu_item_get_icon (IndicatorMenuItem *self); +void indicator_menu_item_set_icon_name (IndicatorMenuItem *self, const gchar *name); + G_END_DECLS #endif -- cgit v1.2.3