Mercurial > pidgin.yaz
changeset 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 | f1652f7abe28 |
children | 9c7b0148978d |
files | src/gtkconv.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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