From 2434369020f74d732a8b8fac431ad35081b57bf5 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 25 May 2012 13:28:46 +0200 Subject: test-empathy-roster-view: add --groups option --- tests/interactive/test-empathy-roster-view.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c index f01b8b6ad..7c29634eb 100644 --- a/tests/interactive/test-empathy-roster-view.c +++ b/tests/interactive/test-empathy-roster-view.c @@ -4,10 +4,12 @@ #include 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); -- cgit v1.2.1