From 9b9fc60f585b27e2256dd54399a1cac6a37c70e6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 9 Oct 2008 13:01:18 +0000 Subject: ** Fixes bug #555494 2008-10-09 Matthew Barnes ** Fixes bug #555494 * addressbook/gui/widgets/e-addressbook-view.c (generate_viewoption_menu): * calendar/gui/cal-search-bar.c (generate_viewoption_menu): Category icons are not themed. Load by file, not by icon name. svn path=/trunk/; revision=36581 --- calendar/gui/cal-search-bar.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c index 3bd1e09bc2..9ea91f8350 100644 --- a/calendar/gui/cal-search-bar.c +++ b/calendar/gui/cal-search-bar.c @@ -552,9 +552,8 @@ generate_viewoption_menu (CALSearchBarItem *subitems) if (subitems[i].image) { GtkWidget *image; - image = gtk_image_new_from_icon_name ( - subitems[i].image, - GTK_ICON_SIZE_MENU); + image = gtk_image_new_from_file ( + subitems[i].image); gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM (menu_item), image); -- cgit