diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2006-02-07 21:20:10 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2006-02-07 21:20:10 +0800 |
commit | a853e3d5a2f48a2312023183de97f3a47bbbb678 (patch) | |
tree | 14cce9815cb89d423f2de4be5c6308fa7be217e7 | |
parent | 8902c6e7344221cc7830a56fc1c43a4686f4f700 (diff) | |
download | gsoc2013-evolution-a853e3d5a2f48a2312023183de97f3a47bbbb678.tar.gz gsoc2013-evolution-a853e3d5a2f48a2312023183de97f3a47bbbb678.tar.zst gsoc2013-evolution-a853e3d5a2f48a2312023183de97f3a47bbbb678.zip |
accept SVGs for stock icons. Fixes bug 304417.
2006-02-07 Benjamin Berg <benjamin@sipsolutions.net>
* e-gui-utils.c:
* e-icon-factory.c:
accept SVGs for stock icons. Fixes bug 304417.
svn path=/trunk/; revision=31433
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-gui-utils.c | 1 | ||||
-rw-r--r-- | e-util/e-icon-factory.c | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 4432472fdc..c063689e4e 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2006-02-07 Benjamin Berg <benjamin@sipsolutions.net> + * e-gui-utils.c: + * e-icon-factory.c: + accept SVGs for stock icons. Fixes bug 304417. + 2006-01-11 Harry Lu <harry.lu@sun.com> * e-marshal.list: removed. diff --git a/e-util/e-gui-utils.c b/e-util/e-gui-utils.c index 919ad860bb..3c1f6f67af 100644 --- a/e-util/e-gui-utils.c +++ b/e-util/e-gui-utils.c @@ -107,6 +107,7 @@ e_icon_for_mime_type (const char *mime_type, int size_hint) if (!icon_theme) icon_theme = gnome_icon_theme_new (); + gnome_icon_theme_set_allow_svg (icon_theme, TRUE); icon_name = gnome_icon_lookup (icon_theme, NULL, NULL, NULL, NULL, mime_type, 0, NULL); diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c index 84af2d635b..6ed841b98e 100644 --- a/e-util/e-icon-factory.c +++ b/e-util/e-icon-factory.c @@ -201,6 +201,7 @@ e_icon_factory_init (void) return; icon_theme = gnome_icon_theme_new (); + gnome_icon_theme_set_allow_svg (icon_theme, TRUE); name_to_icon = g_hash_table_new (g_str_hash, g_str_equal); g_signal_connect (G_OBJECT (icon_theme), "changed", G_CALLBACK (icon_theme_changed_cb), NULL); |