From e9c82c3904642003b47f3d2bc13343894e6750d8 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 27 Mar 2013 08:30:38 -0500 Subject: rename idousermenuitem's "icon" property as "icon-filename" for a little more clarity. --- example/menus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'example') diff --git a/example/menus.c b/example/menus.c index b303cf5..1675f45 100644 --- a/example/menus.c +++ b/example/menus.c @@ -106,7 +106,7 @@ main (int argc, char *argv[]) menuitem = ido_user_menu_item_new (); g_object_set (menuitem, "label", "Guest", - "icon", NULL, + "icon-filename", NULL, "is-logged-in", FALSE, "is-current-user", FALSE, NULL); @@ -115,7 +115,7 @@ main (int argc, char *argv[]) menuitem = ido_user_menu_item_new (); g_object_set (menuitem, "label", "Bobby Fischer", - "icon", "/usr/share/pixmaps/faces/chess.jpg", + "icon-filename", "/usr/share/pixmaps/faces/chess.jpg", "is-logged-in", FALSE, "is-current-user", FALSE, NULL); @@ -124,7 +124,7 @@ main (int argc, char *argv[]) menuitem = ido_user_menu_item_new (); g_object_set (menuitem, "label", "Linus Torvalds", - "icon", "/usr/share/pixmaps/faces/penguin.jpg", + "icon-filename", "/usr/share/pixmaps/faces/penguin.jpg", "is-logged-in", TRUE, "is-current-user", FALSE, NULL); @@ -132,7 +132,7 @@ main (int argc, char *argv[]) menuitem = ido_user_menu_item_new (); g_object_set (menuitem, "label", "Mark Shuttleworth", - "icon", "/usr/share/pixmaps/faces/astronaut.jpg", + "icon-filename", "/usr/share/pixmaps/faces/astronaut.jpg", "is-logged-in", TRUE, "is-current-user", TRUE, NULL); -- cgit v1.2.3