]> git.0d.be Git - empathy.git/commitdiff
Don't load SVG icons because webkit can't load them
authorXavier Claessens <xclaesse@gmail.com>
Wed, 16 Jul 2008 18:12:36 +0000 (20:12 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 16:06:28 +0000 (18:06 +0200)
libempathy-gtk/empathy-theme-adium.c

index e1cdc39a292941b54fb4ccf38d452c17cbcec30d..c2396d15af9fb1ab207bef2387b316cf1e0fc7a3 100644 (file)
@@ -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);