Mercurial > pidgin
changeset 24064:a0381a68ceef
Fix the tab headers to display consistently when changing the "Show detailed
information" preference.
Fixes #6886.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 04 Sep 2008 04:05:54 +0000 |
parents | 81169f04ab1c |
children | 85bed17fe5c1 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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