diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-07-07 16:27:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-07-07 16:27:38 -0400 |
commit | 6818388b325cf949f56b5ba095bd4cc90484caf4 (patch) | |
tree | 46072a3baff39e6c013a8565a87abd2f15334650 /examples | |
parent | a54905dab47829fadd333e0cdb52fbbe8c0184de (diff) | |
download | gtk+-6818388b325cf949f56b5ba095bd4cc90484caf4.tar.gz |
Bloatpad: fix up icons
The references to png files were doubly broken: first, by the icon
theme changes, and more recently, by the move of bloatpad. Fix them
up.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bp/bloatpad.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/bp/bloatpad.c b/examples/bp/bloatpad.c index 1ca129ec97..8e71efb948 100644 --- a/examples/bp/bloatpad.c +++ b/examples/bp/bloatpad.c @@ -541,7 +541,7 @@ bloat_pad_startup (GApplication *application) menu = gtk_application_get_menu_by_id (GTK_APPLICATION (application), "icon-menu"); - file = g_file_new_for_path (SRCDIR "/../gtk/stock-icons/16/help-about.png"); + file = g_file_new_for_path (SRCDIR "/../../gtk/resources/icons/16x16/actions/gtk-select-color.png"); icon = g_file_icon_new (file); item = g_menu_item_new ("File Icon", NULL); g_menu_item_set_icon (item, icon); @@ -557,7 +557,7 @@ bloat_pad_startup (GApplication *application) g_object_unref (item); g_object_unref (icon); - if (g_file_get_contents (SRCDIR "/../gtk/stock-icons/16/list-add.png", &data, &size, NULL)) + if (g_file_get_contents (SRCDIR "/../../gtk/resources/icons/16x16/actions/gtk-select-font.png", &data, &size, NULL)) { GBytes *bytes = g_bytes_new_take (data, size); icon = g_bytes_icon_new (bytes); @@ -569,19 +569,19 @@ bloat_pad_startup (GApplication *application) g_bytes_unref (bytes); } - icon = G_ICON (gdk_pixbuf_new_from_file (SRCDIR "/../gtk/stock-icons/16/gtk-preferences.png", NULL)); + icon = G_ICON (gdk_pixbuf_new_from_file (SRCDIR "/../../gtk/resources/icons/16x16/actions/gtk-preferences.png", NULL)); item = g_menu_item_new ("Pixbuf", NULL); g_menu_item_set_icon (item, icon); g_menu_append_item (menu, item); g_object_unref (item); g_object_unref (icon); - file = g_file_new_for_path (SRCDIR "/../gtk/stock-icons/16/edit-paste.png"); + file = g_file_new_for_path (SRCDIR "/../../gtk/resources/icons/16x16/actions/gtk-page-setup.png"); icon = g_file_icon_new (file); emblem = g_emblem_new (icon); g_object_unref (icon); g_object_unref (file); - file = g_file_new_for_path (SRCDIR "/../gtk/stock-icons/16/edit-copy.png"); + file = g_file_new_for_path (SRCDIR "/../../gtk/resources/icons/16x16/actions/gtk-orientation-reverse-portrait.png"); icon2 = g_file_icon_new (file); icon = g_emblemed_icon_new (icon2, emblem); item = g_menu_item_new ("Emblemed Icon", NULL); |