Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 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 |
comparison
equal
deleted
inserted
replaced
7413:ed9c9b955140 | 7414:9c7b0148978d |
---|---|
3933 /* I believe this to work around a win32 gtk+ bug, where it can't | 3933 /* I believe this to work around a win32 gtk+ bug, where it can't |
3934 * handle creating the button correctly before the window is | 3934 * handle creating the button correctly before the window is |
3935 * shown. That's why we get the appearance of a button, without | 3935 * shown. That's why we get the appearance of a button, without |
3936 * all the normal button-like properties, like being able to click | 3936 * all 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 gtk_widget_show_all(gtkconv->close); | 3939 GaimConversation *conv; |
3940 GaimGtkConversation *gtkconv; | |
3941 | |
3942 conv = gaim_conv_window_get_conversation_at(win, 0); | |
3943 if(conv) { | |
3944 gtkconv = GAIM_GTK_CONVERSATION(conv); | |
3945 gtk_widget_show_all(gtkconv->close); | |
3946 } | |
3947 } | |
3940 #endif | 3948 #endif |
3941 } | 3949 } |
3942 | 3950 |
3943 static void | 3951 static void |
3944 gaim_gtk_hide(GaimConvWindow *win) | 3952 gaim_gtk_hide(GaimConvWindow *win) |