diff options
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index e1a571bce..49152e586 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -553,6 +553,7 @@ MimeAskActionDialog::MimeAskActionDialog(GContentHandler *aContentHandler, mContentHandler(aContentHandler), mParent(aParentWidget) { + GdkPixbuf *mime_icon; GtkWidget *label; GtkWidget *dialogWidget; const char *description; @@ -566,8 +567,9 @@ MimeAskActionDialog::MimeAskActionDialog(GContentHandler *aContentHandler, GtkWidget *aMimeIcon = glade_xml_get_widget (mGXml, "mime_ask_action_icon"); - gtk_image_set_from_file(GTK_IMAGE(aMimeIcon), - gnome_vfs_mime_get_icon(aMimeType)); + mime_icon = ephy_gui_get_pixbuf_from_mime_type (aMimeType, 32); + gtk_image_set_from_pixbuf (GTK_IMAGE(aMimeIcon), mime_icon); + g_object_unref (mime_icon); description = gnome_vfs_mime_get_description (aMimeType); if (!description) description = aMimeType; |