diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-23 17:43:19 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-23 17:43:19 -0500 |
commit | 61ce72760580396f55c1c9490bdc3cc6b52482d1 (patch) | |
tree | f0630371be1d7299409c2aa47d2f45f22d43e514 /src/idousermenuitem.h | |
parent | 8f8d487e5a29c1d483e9edd2067e17e4b8c0e205 (diff) | |
parent | 8b984ae8ec050b9f33b92abb1655e774f3025e95 (diff) | |
download | ayatana-ido-61ce72760580396f55c1c9490bdc3cc6b52482d1.tar.gz ayatana-ido-61ce72760580396f55c1c9490bdc3cc6b52482d1.tar.bz2 ayatana-ido-61ce72760580396f55c1c9490bdc3cc6b52482d1.zip |
add an 'icon' property to idousermenuitem
Diffstat (limited to 'src/idousermenuitem.h')
-rw-r--r-- | src/idousermenuitem.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/idousermenuitem.h b/src/idousermenuitem.h index d51f6c7..89e9a12 100644 --- a/src/idousermenuitem.h +++ b/src/idousermenuitem.h @@ -56,10 +56,11 @@ GType ido_user_menu_item_get_type (void) G_GNUC_CONST; GtkWidget* ido_user_menu_item_new(void); -void ido_user_menu_item_set_icon (IdoUserMenuItem * self, const char * icon_name); -void ido_user_menu_item_set_logged_in (IdoUserMenuItem * self, gboolean is_logged_in); -void ido_user_menu_item_set_current_user (IdoUserMenuItem * self, gboolean is_current_user); -void ido_user_menu_item_set_label (IdoUserMenuItem * self, const char * label); +void ido_user_menu_item_set_icon (IdoUserMenuItem * self, GIcon * icon); +void ido_user_menu_item_set_icon_from_file (IdoUserMenuItem * self, const char * filename); +void ido_user_menu_item_set_logged_in (IdoUserMenuItem * self, gboolean is_logged_in); +void ido_user_menu_item_set_current_user (IdoUserMenuItem * self, gboolean is_current_user); +void ido_user_menu_item_set_label (IdoUserMenuItem * self, const char * label); GtkMenuItem * ido_user_menu_item_new_from_model (GMenuItem *menuitem, GActionGroup *actions); |