diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-01-14 23:51:10 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-01-14 23:51:10 +0100 |
commit | 1e56f31341ecdb60456929a3d6d07bb16409b399 (patch) | |
tree | 8c0946f0345af7324b1a217d33e9dad2fff0b4ae /src/indicator-menu-item.h | |
parent | 1b671f1d837a97fb60fe03958f6e1b704981607a (diff) | |
download | ayatana-indicator-printers-1e56f31341ecdb60456929a3d6d07bb16409b399.tar.gz ayatana-indicator-printers-1e56f31341ecdb60456929a3d6d07bb16409b399.tar.bz2 ayatana-indicator-printers-1e56f31341ecdb60456929a3d6d07bb16409b399.zip |
Add the possibility to set an icon on indicator-menu-item
Diffstat (limited to 'src/indicator-menu-item.h')
-rw-r--r-- | src/indicator-menu-item.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |