aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-gui-utils.c1
-rw-r--r--e-util/e-icon-factory.c1
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);