changeset 913:8de59874f5ce

[gaim-migrate @ 923] whoops. would be good if that were optional. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 14 Sep 2000 23:25:27 +0000
parents 5a517b4f0be4
children 215fe9039ae1
files src/buddy.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu Sep 14 23:22:11 2000 +0000
+++ b/src/buddy.c	Thu Sep 14 23:25:27 2000 +0000
@@ -215,7 +215,8 @@
                         mem = mem->next;
                 }
 		/* this is a fall-back in case we missed any */
-		if (!count) gtk_widget_hide(g->item);
+		if (!count && (display_options & OPT_DISP_NO_MT_GRP))
+			gtk_widget_hide(g->item);
 		else gtk_widget_show(g->item);
 
                 grp = grp->next;
@@ -502,7 +503,8 @@
 		if (b->present) count++;
 		mem = mem->next;
 	}
-	if (!count) gtk_widget_hide(delg->item);
+	if (!count && (display_options & OPT_DISP_NO_MT_GRP))
+		gtk_widget_hide(delg->item);
 	
 
         serv_save_config();
@@ -748,7 +750,8 @@
 				if (bt->present) count++;
 				mem = mem->next;
 			}
-			if (!count) gtk_widget_hide(old_g->item);
+			if (!count && (display_options & OPT_DISP_NO_MT_GRP))
+				gtk_widget_hide(old_g->item);
 			gtk_widget_show(new_g->item);
 		}
                 set_buddy(b);