summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-25 13:28:46 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-14 09:21:48 +0200
commit2434369020f74d732a8b8fac431ad35081b57bf5 (patch)
treebadf3d343e0420e01d1619f51acdc8d67958169e /tests
parentcfeb597b9cafbf61b950a0a3a76daff7ccf03f90 (diff)
test-empathy-roster-view: add --groups option
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive/test-empathy-roster-view.c3
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 f01b8b6a..7c29634e 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);