comparison src/gtkimhtml.c @ 9706:d4634f26ef9b

[gaim-migrate @ 10567] Blather. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 07 Aug 2004 23:15:21 +0000
parents d6292978a704
children 4d05b6e9e9cd
comparison
equal deleted inserted replaced
9705:9124c0ddc434 9706:d4634f26ef9b
2801 2801
2802 /* If I can't find a valid type, I will just tell the user about it and then assume 2802 /* If I can't find a valid type, I will just tell the user about it and then assume
2803 it's a png */ 2803 it's a png */
2804 if (!type){ 2804 if (!type){
2805 gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, 2805 gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
2806 _("Unable to guess the image type based on the file extension supplied. Defaulting to PNG.")); 2806 _("Unable to guess the image type based on the file extension supplied. Using \".image\""));
2807 type = g_strdup("png"); 2807 type = g_strdup("image");
2808 } 2808 }
2809 2809
2810 gdk_pixbuf_save(image->pixbuf, filename, type, &error, NULL); 2810 gdk_pixbuf_save(image->pixbuf, filename, type, &error, NULL);
2811 2811
2812 if (error){ 2812 if (error){