From ade3fc34bbc44dac9220e60f496e82f651180755 Mon Sep 17 00:00:00 2001 From: Chandni Verma Date: Sun, 30 Jun 2013 00:44:20 +0530 Subject: Install property active-group in EmpathyIndividualMenu https://bugzilla.gnome.org/show_bug.cgi?id=585440 --- libempathy-gtk/empathy-roster-view.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk/empathy-roster-view.c') diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c index 93b5d0e53..7d168d471 100644 --- a/libempathy-gtk/empathy-roster-view.c +++ b/libempathy-gtk/empathy-roster-view.c @@ -1146,6 +1146,7 @@ fire_popup_individual_menu (EmpathyRosterView *self, { EmpathyRosterContact *contact; FolksIndividual *individual; + const gchar *active_group; if (!EMPATHY_IS_ROSTER_CONTACT (child)) return; @@ -1153,8 +1154,9 @@ fire_popup_individual_menu (EmpathyRosterView *self, contact = EMPATHY_ROSTER_CONTACT (child); individual = empathy_roster_contact_get_individual (contact); + active_group = empathy_roster_contact_get_group (contact); g_signal_emit (self, signals[SIG_POPUP_INDIVIDUAL_MENU], 0, - individual, button, time); + active_group, individual, button, time); } static gboolean @@ -1347,7 +1349,8 @@ empathy_roster_view_class_init ( G_SIGNAL_RUN_LAST, 0, NULL, NULL, NULL, G_TYPE_NONE, - 3, FOLKS_TYPE_INDIVIDUAL, G_TYPE_UINT, G_TYPE_UINT); + 4, G_TYPE_STRING, FOLKS_TYPE_INDIVIDUAL, G_TYPE_UINT, + G_TYPE_UINT); signals[SIG_EVENT_ACTIVATED] = g_signal_new ("event-activated", G_OBJECT_CLASS_TYPE (klass), -- cgit v1.2.3