[empathy] test-empathy-roster-view: add --groups option



commit 2434369020f74d732a8b8fac431ad35081b57bf5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri May 25 13:28:46 2012 +0200

    test-empathy-roster-view: add --groups option

 tests/interactive/test-empathy-roster-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c
index f01b8b6..7c29634 100644
--- a/tests/interactive/test-empathy-roster-view.c
+++ b/tests/interactive/test-empathy-roster-view.c
@@ -4,10 +4,12 @@
 #include <libempathy-gtk/empathy-ui-utils.h>
 
 static gboolean show_offline = FALSE;
+static gboolean show_groups = FALSE;
 
 static GOptionEntry entries[] =
 {
   { "offline", 0, 0, G_OPTION_ARG_NONE, &show_offline, "Show offline contacts", NULL },
+  { "groups", 0, 0, G_OPTION_ARG_NONE, &show_groups, "Show groups", NULL },
   { NULL }
 };
 
@@ -41,6 +43,7 @@ main (int argc,
   view = empathy_roster_view_new (mgr);
 
   empathy_roster_view_show_offline (EMPATHY_ROSTER_VIEW (view), show_offline);
+  empathy_roster_view_show_groups (EMPATHY_ROSTER_VIEW (view), show_groups);
 
   g_object_unref (mgr);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]