# HG changeset patch # User Daniel Atallah # Date 1220501154 0 # Node ID a0381a68ceef7102793a10b3eb9d58a3c32df400 # Parent 81169f04ab1c03fb01bc5fc7257ce7bc4aa9c758 Fix the tab headers to display consistently when changing the "Show detailed information" preference. Fixes #6886. diff -r 81169f04ab1c -r a0381a68ceef pidgin/gtkconv.c --- a/pidgin/gtkconv.c Thu Sep 04 03:43:32 2008 +0000 +++ b/pidgin/gtkconv.c Thu Sep 04 04:05:54 2008 +0000 @@ -7183,6 +7183,14 @@ pidgin_conv_update_buddy_icon(conv); } } + + /* Make the tabs show/hide correctly */ + for (l = pidgin_conv_windows_get_list(); l != NULL; l = l->next) { + PidginWindow *win = l->data; + if (pidgin_conv_window_get_gtkconv_count(win) == 1) + gtk_notebook_set_show_tabs(GTK_NOTEBOOK(win->notebook), + GPOINTER_TO_INT(value) == 0); + } } static void