[empathy] fix 'popup-individual-menu' in roster tests
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] fix 'popup-individual-menu' in roster tests
- Date: Wed, 4 Sep 2013 11:00:37 +0000 (UTC)
commit 2922737e84cc38ca3f151602b2a94acda74a2008
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Sep 4 12:59:40 2013 +0200
fix 'popup-individual-menu' in roster tests
We added the 'group' argument to the signal.
tests/interactive/test-empathy-dual-roster-view.c | 5 +++--
.../test-empathy-roster-model-aggregator.c | 5 +++--
tests/interactive/test-empathy-roster-view.c | 5 +++--
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 5d2dfdc..b98cb3c 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 b558431..c53859f 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 eb5cf6c..d8e5d34 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]