aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-25 19:28:46 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-14 15:21:48 +0800
commit2434369020f74d732a8b8fac431ad35081b57bf5 (patch)
treebadf3d343e0420e01d1619f51acdc8d67958169e /tests
parentcfeb597b9cafbf61b950a0a3a76daff7ccf03f90 (diff)
downloadgsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.tar
gsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.tar.gz
gsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.tar.bz2
gsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.tar.lz
gsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.tar.xz
gsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.tar.zst
gsoc2013-empathy-2434369020f74d732a8b8fac431ad35081b57bf5.zip
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 f01b8b6ad..7c29634eb 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);