diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-03-27 08:30:38 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-03-27 08:30:38 -0500 |
commit | e9c82c3904642003b47f3d2bc13343894e6750d8 (patch) | |
tree | d90ffd5ea11781be35f3e23f3d984b9d42e33996 /example/menus.c | |
parent | 0430322cec5472c4cbac20e2869f3aab9218c3d7 (diff) | |
download | ayatana-ido-e9c82c3904642003b47f3d2bc13343894e6750d8.tar.gz ayatana-ido-e9c82c3904642003b47f3d2bc13343894e6750d8.tar.bz2 ayatana-ido-e9c82c3904642003b47f3d2bc13343894e6750d8.zip |
rename idousermenuitem's "icon" property as "icon-filename" for a little more clarity.
Diffstat (limited to 'example/menus.c')
-rw-r--r-- | example/menus.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |