comparison src/gtkconv.c @ 7413:ed9c9b955140

[gaim-migrate @ 8015] someone who can compile for win32 see if this fixes the first-conv-tab-close-button-can't-be-clicked bug that we all hate so much committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 03 Nov 2003 01:36:52 +0000
parents d60e1629ffde
children 9c7b0148978d
comparison
equal deleted inserted replaced
7412:f1652f7abe28 7413:ed9c9b955140
3926 gaim_gtk_show(GaimConvWindow *win) 3926 gaim_gtk_show(GaimConvWindow *win)
3927 { 3927 {
3928 GaimGtkWindow *gtkwin = GAIM_GTK_WINDOW(win); 3928 GaimGtkWindow *gtkwin = GAIM_GTK_WINDOW(win);
3929 3929
3930 gtk_widget_show(gtkwin->window); 3930 gtk_widget_show(gtkwin->window);
3931
3932 #ifdef _WIN32
3933 /* I believe this to work around a win32 gtk+ bug, where it can't
3934 * handle creating the button correctly before the window is
3935 * shown. That's why we get the appearance of a button, without
3936 * all the normal button-like properties, like being able to click
3937 * it. ;-) --Nathan */
3938 if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs"))
3939 gtk_widget_show_all(gtkconv->close);
3940 #endif
3931 } 3941 }
3932 3942
3933 static void 3943 static void
3934 gaim_gtk_hide(GaimConvWindow *win) 3944 gaim_gtk_hide(GaimConvWindow *win)
3935 { 3945 {