aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/cal-search-bar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-10-09 21:01:18 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-09 21:01:18 +0800
commit9b9fc60f585b27e2256dd54399a1cac6a37c70e6 (patch)
tree2a3b3cf031dcf100e88a3bbc02b0a5fdf029b90d /calendar/gui/cal-search-bar.c
parent6cf6c0cada7a95853daa122032dbee3a823c4953 (diff)
downloadgsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar.gz
gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar.zst
gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.zip
** Fixes bug #555494
2008-10-09 Matthew Barnes <mbarnes@redhat.com> ** 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
Diffstat (limited to 'calendar/gui/cal-search-bar.c')
-rw-r--r--calendar/gui/cal-search-bar.c5
1 files changed, 2 insertions, 3 deletions
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);