aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-07-13 10:00:43 -0500
committerCody Russell <crussell@canonical.com>2010-07-13 10:00:43 -0500
commitdfa545557b295cd2f3740c926a9f1574de1716de (patch)
tree61f24c7fdcda0fe429a24288679fdd29eaa4632d /example
parent09a64549745395e87329e27e6c4a89a280b42025 (diff)
parent01d2367c750c6aaa3927e2d9ef6495bec59d090c (diff)
downloadayatana-ido-dfa545557b295cd2f3740c926a9f1574de1716de.tar.gz
ayatana-ido-dfa545557b295cd2f3740c926a9f1574de1716de.tar.bz2
ayatana-ido-dfa545557b295cd2f3740c926a9f1574de1716de.zip
Merge in range branch.
Diffstat (limited to 'example')
-rw-r--r--example/menus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/menus.c b/example/menus.c
index 133c7c8..e6765b3 100644
--- a/example/menus.c
+++ b/example/menus.c
@@ -52,6 +52,7 @@ main (int argc, char *argv[])
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
menuitem = ido_scale_menu_item_new_with_range ("Volume", 65, 0, 100, 1);
+ ido_scale_menu_item_set_style (IDO_SCALE_MENU_ITEM (menuitem), IDO_SCALE_MENU_ITEM_STYLE_IMAGE);
image = ido_scale_menu_item_get_primary_image (IDO_SCALE_MENU_ITEM (menuitem));
gtk_image_set_from_stock (GTK_IMAGE (image), GTK_STOCK_NEW, GTK_ICON_SIZE_MENU);
image = ido_scale_menu_item_get_secondary_image (IDO_SCALE_MENU_ITEM (menuitem));