changeset 16106:b73761ac005e

...only for groups
author Richard Nelson <wabz@pidgin.im>
date Sat, 14 Apr 2007 13:20:05 +0000
parents 1983ecd15174
children 1980273186a4
files finch/gntblist.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntblist.c	Sat Apr 14 12:39:33 2007 +0000
+++ b/finch/gntblist.c	Sat Apr 14 13:20:05 2007 +0000
@@ -2109,7 +2109,8 @@
 static void
 group_collapsed(GntWidget *widget, PurpleBlistNode *node, gboolean collapsed, gpointer null)
 {
-	purple_blist_node_set_bool(node, "collapsed", collapsed);
+	if (PURPLE_BLIST_NODE_IS_GROUP(node))
+		purple_blist_node_set_bool(node, "collapsed", collapsed);
 }
 
 static void