aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-04 18:59:40 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-04 18:59:40 +0800
commit2922737e84cc38ca3f151602b2a94acda74a2008 (patch)
tree5be61956b4c1f73b0f7d53842c1a4dc2b836cd7c
parent24238851a5f3617c52bd60d1f99ac5eef0c079a1 (diff)
downloadgsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.tar
gsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.tar.gz
gsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.tar.bz2
gsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.tar.lz
gsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.tar.xz
gsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.tar.zst
gsoc2013-empathy-2922737e84cc38ca3f151602b2a94acda74a2008.zip
fix 'popup-individual-menu' in roster tests
We added the 'group' argument to the signal.
-rw-r--r--tests/interactive/test-empathy-dual-roster-view.c5
-rw-r--r--tests/interactive/test-empathy-roster-model-aggregator.c5
-rw-r--r--tests/interactive/test-empathy-roster-view.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/tests/interactive/test-empathy-dual-roster-view.c b/tests/interactive/test-empathy-dual-roster-view.c
index 5d2dfdc55..b98cb3c0e 100644
--- a/tests/interactive/test-empathy-dual-roster-view.c
+++ b/tests/interactive/test-empathy-dual-roster-view.c
@@ -18,6 +18,7 @@ individual_activated_cb (EmpathyRosterView *self,
static void
popup_individual_menu_cb (EmpathyRosterView *self,
+ const gchar *group,
FolksIndividual *individual,
guint button,
guint time,
@@ -25,8 +26,8 @@ popup_individual_menu_cb (EmpathyRosterView *self,
{
GtkWidget *menu, *item;
- g_print ("'%s' popup menu\n",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)));
+ g_print ("'%s' (group: %s) popup menu\n",
+ folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)), group);
menu = gtk_menu_new ();
diff --git a/tests/interactive/test-empathy-roster-model-aggregator.c b/tests/interactive/test-empathy-roster-model-aggregator.c
index b55843158..c53859f8f 100644
--- a/tests/interactive/test-empathy-roster-model-aggregator.c
+++ b/tests/interactive/test-empathy-roster-model-aggregator.c
@@ -28,6 +28,7 @@ individual_activated_cb (EmpathyRosterView *self,
static void
popup_individual_menu_cb (EmpathyRosterView *self,
+ const gchar *group,
FolksIndividual *individual,
guint button,
guint time,
@@ -35,8 +36,8 @@ popup_individual_menu_cb (EmpathyRosterView *self,
{
GtkWidget *menu, *item;
- g_print ("'%s' popup menu\n",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)));
+ g_print ("'%s' (group: %s) popup menu\n",
+ folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)), group);
menu = gtk_menu_new ();
diff --git a/tests/interactive/test-empathy-roster-view.c b/tests/interactive/test-empathy-roster-view.c
index eb5cf6c6b..d8e5d3464 100644
--- a/tests/interactive/test-empathy-roster-view.c
+++ b/tests/interactive/test-empathy-roster-view.c
@@ -28,6 +28,7 @@ individual_activated_cb (EmpathyRosterView *self,
static void
popup_individual_menu_cb (EmpathyRosterView *self,
+ const gchar *group,
FolksIndividual *individual,
guint button,
guint time,
@@ -35,8 +36,8 @@ popup_individual_menu_cb (EmpathyRosterView *self,
{
GtkWidget *menu, *item;
- g_print ("'%s' popup menu\n",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)));
+ g_print ("'%s' (group: %s) popup menu\n",
+ folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)), group);
menu = gtk_menu_new ();