Mon, 03 Nov 2003 01:36:52 +0000
[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
| src/gtkconv.c | file | annotate | diff | comparison | revisions |
--- 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