# HG changeset patch # User Mark Doliner # Date 1091920521 0 # Node ID d4634f26ef9bd68a7089b394f45d119542caad27 # Parent 9124c0ddc434d35be18bf9d02a24b8fda868826a [gaim-migrate @ 10567] Blather. committer: Tailor Script diff -r 9124c0ddc434 -r d4634f26ef9b src/gtkconv.c --- a/src/gtkconv.c Sat Aug 07 22:54:27 2004 +0000 +++ b/src/gtkconv.c Sat Aug 07 23:15:21 2004 +0000 @@ -2496,6 +2496,10 @@ g_return_if_fail(conv != NULL); + /* + * XXX - The file extension needs to be set to something that doesn't suck... + * Maybe do what gtkimhtml.c does when saving an image? + */ buf = g_strdup_printf("%s.icon", gaim_normalize(conv->account, conv->name)); gaim_request_file(conv, _("Save Icon"), buf, TRUE, diff -r 9124c0ddc434 -r d4634f26ef9b src/gtkimhtml.c --- a/src/gtkimhtml.c Sat Aug 07 22:54:27 2004 +0000 +++ b/src/gtkimhtml.c Sat Aug 07 23:15:21 2004 +0000 @@ -2803,8 +2803,8 @@ it's a png */ if (!type){ gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - _("Unable to guess the image type based on the file extension supplied. Defaulting to PNG.")); - type = g_strdup("png"); + _("Unable to guess the image type based on the file extension supplied. Using \".image\"")); + type = g_strdup("image"); } gdk_pixbuf_save(image->pixbuf, filename, type, &error, NULL); diff -r 9124c0ddc434 -r d4634f26ef9b src/gtkutils.c --- a/src/gtkutils.c Sat Aug 07 22:54:27 2004 +0000 +++ b/src/gtkutils.c Sat Aug 07 23:15:21 2004 +0000 @@ -241,7 +241,7 @@ GtkWidget * gaim_pixbuf_toolbar_button_from_stock(const char *icon) { - GtkWidget *button, *image, *bbox; + GtkWidget *button, *image, *bbox; button = gtk_toggle_button_new(); gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);