pidgin: 7025d33c: Fix the tab headers to display consisten...

datallah at pidgin.im datallah at pidgin.im
Thu Sep 4 00:11:49 EDT 2008


-----------------------------------------------------------------
Revision: 7025d33c9a1201cc806b4a7d7053cd58c5e1b312
Ancestor: e685599ddcc769d157547685b5498df0662de8a2
Author: datallah at pidgin.im
Date: 2008-09-04T04:05:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7025d33c9a1201cc806b4a7d7053cd58c5e1b312

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

Fix the tab headers to display consistently when changing the "Show detailed
information" preference.
Fixes #6886.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	995c54ffdba5ce7608a4b73329914a3bfe5f84fe
+++ pidgin/gtkconv.c	ad33c07b949b538914c790f5ef88ce1b8a6e3c69
@@ -7183,6 +7183,14 @@ show_buddy_icons_pref_cb(const char *nam
 			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


More information about the Commits mailing list