[empathy] Don't load SVG icons because webkit can't load them
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Don't load SVG icons because webkit can't load them
- Date: Thu, 11 Jun 2009 14:53:53 -0400 (EDT)
commit 3bd5bfb25895a95bb879bcdb27647533c5ae2ce8
Author: Xavier Claessens <xclaesse gmail com>
Date: Wed Jul 16 20:12:36 2008 +0200
Don't load SVG icons because webkit can't load them
libempathy-gtk/empathy-theme-adium.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index e1cdc39..c2396d1 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -183,7 +183,10 @@ theme_adium_get_default_avatar_filename (EmpathyThemeAdium *theme)
size = (w + h) / 2;
}
- icon_info = gtk_icon_theme_lookup_icon (icon_theme, "stock_person", size, 0);
+ /* FIXME: We should not avoid SVG, but old webkit from ubuntu hardy
+ * can't load them correctly. */
+ icon_info = gtk_icon_theme_lookup_icon (icon_theme, "stock_person",
+ size, GTK_ICON_LOOKUP_NO_SVG);
priv->default_avatar_filename = g_strdup (gtk_icon_info_get_filename (icon_info));
gtk_icon_info_free (icon_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]