[empathy] Add a group channel only if suppress_handler == FALSE
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Add a group channel only if suppress_handler == FALSE
- Date: Wed, 22 Apr 2009 06:26:15 -0400 (EDT)
commit 515f2cfda9a798386b50d39e72ce02e248577c98
Author: Xavier Claessens <xclaesse gmail com>
Date: Tue Feb 17 16:12:12 2009 +0100
Add a group channel only if suppress_handler == FALSE
---
libempathy/empathy-tp-contact-list.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index 7988a3e..051c342 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -614,9 +614,11 @@ tp_contact_list_new_channel_cb (TpConnection *proxy,
gpointer user_data,
GObject *list)
{
- tp_contact_list_group_add_channel (EMPATHY_TP_CONTACT_LIST (list),
- object_path, channel_type,
- handle_type, handle);
+ if (!suppress_handler) {
+ tp_contact_list_group_add_channel (EMPATHY_TP_CONTACT_LIST (list),
+ object_path, channel_type,
+ handle_type, handle);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]