Mercurial > pidgin
comparison src/gtkconv.c @ 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 | 53c86d59f20b |
comparison
equal
deleted
inserted
replaced
7414:9c7b0148978d | 7415:41030dfcb288 |
---|---|
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 | 3931 |
3932 #ifdef _WIN32 | 3932 #ifdef _WIN32 |
3933 /* I believe this to work around a win32 gtk+ bug, where it can't | 3933 /* This works around a win32 gtk+ bug, where it can't handle |
3934 * handle creating the button correctly before the window is | 3934 * creating the button correctly before the window is shown. |
3935 * shown. That's why we get the appearance of a button, without | 3935 * That's why we get the appearance of a button, without all |
3936 * all the normal button-like properties, like being able to click | 3936 * the normal button-like properties, like being able to click |
3937 * it. ;-) --Nathan */ | 3937 * it. ;-) --Nathan */ |
3938 if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) { | 3938 if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) { |
3939 GaimConversation *conv; | 3939 GaimConversation *conv; |
3940 GaimGtkConversation *gtkconv; | 3940 GaimGtkConversation *gtkconv; |
3941 | 3941 |
3942 conv = gaim_conv_window_get_conversation_at(win, 0); | 3942 conv = gaim_conv_window_get_conversation_at(win, 0); |
3943 if(conv) { | 3943 if(conv) { |
3944 gtkconv = GAIM_GTK_CONVERSATION(conv); | 3944 gtkconv = GAIM_GTK_CONVERSATION(conv); |
3945 gtk_widget_hide(gtkconv->close); | |
3945 gtk_widget_show_all(gtkconv->close); | 3946 gtk_widget_show_all(gtkconv->close); |
3946 } | 3947 } |
3947 } | 3948 } |
3948 #endif | 3949 #endif |
3949 } | 3950 } |