diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-10-09 21:01:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-09 21:01:18 +0800 |
commit | 9b9fc60f585b27e2256dd54399a1cac6a37c70e6 (patch) | |
tree | 2a3b3cf031dcf100e88a3bbc02b0a5fdf029b90d | |
parent | 6cf6c0cada7a95853daa122032dbee3a823c4953 (diff) | |
download | gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar.gz gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar.bz2 gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar.lz gsoc2013-evolution-9b9fc60f585b27e2256dd54399a1cac6a37c70e6.tar.xz 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
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 5 | ||||
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/cal-search-bar.c | 5 |
4 files changed, 18 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 0361a37570..1d4467512c 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2008-10-09 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #555494 + + * gui/widgets/e-addressbook-view.c (generate_viewoption_menu): + Category icons are not themed. Load by file, not by icon name. + 2008-10-03 Sankar P <psankar@novell.com> License Changes diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index b85b2324b9..cda3922a87 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1479,9 +1479,8 @@ generate_viewoption_menu (EABSearchBarItem *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); 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 <mbarnes@redhat.com> + + ** 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 <psankar@novell.com> 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); |