# HG changeset patch # User Nathan Walp # Date 1067823412 0 # Node ID ed9c9b9551406feadbbb8caa3022216fa923673c # Parent f1652f7abe280b1e41df76010e872e1cf45eff8c [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 diff -r f1652f7abe28 -r ed9c9b955140 src/gtkconv.c --- a/src/gtkconv.c Sun Nov 02 21:44:12 2003 +0000 +++ b/src/gtkconv.c Mon Nov 03 01:36:52 2003 +0000 @@ -3928,6 +3928,16 @@ GaimGtkWindow *gtkwin = GAIM_GTK_WINDOW(win); 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 + * it. ;-) --Nathan */ + if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) + gtk_widget_show_all(gtkconv->close); +#endif } static void