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/ChangeLog | 7 +++++++ calendar/gui/cal-search-bar.c | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 726fccbae7..b621c398e8 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2008-10-09 Matthew Barnes + + ** Fixes part of bug #555494 + + * gui/cal-search-bar.c (generate_viewoption_menu): + Category icons are not themed. Load by file, not by icon name. + 2008-10-08 Sankar P License Changes 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