changeset 7415:41030dfcb288

[gaim-migrate @ 8017] ok, this really fixes it, thanks to SimGuy for testing committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 03 Nov 2003 04:36:01 +0000
parents 9c7b0148978d
children daa81bdefef5
files src/gtkconv.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Mon Nov 03 03:15:12 2003 +0000
+++ b/src/gtkconv.c	Mon Nov 03 04:36:01 2003 +0000
@@ -3930,10 +3930,10 @@
 	gtk_widget_show(gtkwin->window);
 
 #ifdef _WIN32
-	/* I believe this to work around a win32 gtk+ bug, where it can't
-	 * handle creating the button correctly before the window is
-	 * shown.  That's why we get the appearance of a button, without
-	 * all the normal button-like properties, like being able to click
+	/* This works around a win32 gtk+ bug, where it can't handle
+	 * creating the button correctly before the window is shown.
+	 * That's why we get the appearance of a button, without all
+	 * the normal button-like properties, like being able to click
 	 * it. ;-)  --Nathan */
 	if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) {
 		GaimConversation *conv;
@@ -3942,6 +3942,7 @@
 		conv = gaim_conv_window_get_conversation_at(win, 0);
 		if(conv) {
 			gtkconv = GAIM_GTK_CONVERSATION(conv);
+			gtk_widget_hide(gtkconv->close);
 			gtk_widget_show_all(gtkconv->close);
 		}
 	}