aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2008-07-17 02:12:36 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-12 00:06:28 +0800
commit3bd5bfb25895a95bb879bcdb27647533c5ae2ce8 (patch)
tree7cece62c2fb21f02a343db64e7ab1d1a58b7f7c7
parentc9b74c0e4891a12133aab46312b6038c3a2d0047 (diff)
downloadgsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.tar
gsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.tar.gz
gsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.tar.bz2
gsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.tar.lz
gsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.tar.xz
gsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.tar.zst
gsoc2013-empathy-3bd5bfb25895a95bb879bcdb27647533c5ae2ce8.zip
Don't load SVG icons because webkit can't load them
-rw-r--r--libempathy-gtk/empathy-theme-adium.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index e1cdc39a2..c2396d15a 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);