changeset 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 9124c0ddc434
children 0b1538126851
files src/gtkconv.c src/gtkimhtml.c src/gtkutils.c
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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);
--- 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);