Mercurial > pidgin.yaz
changeset 7414:9c7b0148978d
[gaim-migrate @ 8016]
this is, of course, what I meant.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 03 Nov 2003 03:15:12 +0000 |
parents | ed9c9b955140 |
children | 41030dfcb288 |
files | src/gtkconv.c |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Nov 03 01:36:52 2003 +0000 +++ b/src/gtkconv.c Mon Nov 03 03:15:12 2003 +0000 @@ -3935,8 +3935,16 @@ * 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); + if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) { + GaimConversation *conv; + GaimGtkConversation *gtkconv; + + conv = gaim_conv_window_get_conversation_at(win, 0); + if(conv) { + gtkconv = GAIM_GTK_CONVERSATION(conv); + gtk_widget_show_all(gtkconv->close); + } + } #endif }