aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-27 19:33:14 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-27 19:33:14 +0800
commit63acdda28d6b9ada1045c25f684aca6692c288f7 (patch)
tree24fa00489de765f6d6f1c1e964dbbd6a2f750460 /libempathy
parentf6f0f8a8b43d37b01c58dac1747fd4a3492bdbbb (diff)
downloadgsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.tar
gsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.tar.gz
gsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.tar.bz2
gsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.tar.lz
gsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.tar.xz
gsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.tar.zst
gsoc2013-empathy-63acdda28d6b9ada1045c25f684aca6692c288f7.zip
Add filter for incoming calls so the status icon blink instead of popup directly the call window.
svn path=/trunk/; revision=676
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-group.c12
-rw-r--r--libempathy/empathy-tp-group.h1
2 files changed, 13 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index c20bf2053..7f33811bf 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -828,6 +828,18 @@ empathy_tp_group_get_object_path (EmpathyTpGroup *group)
return dbus_g_proxy_get_path (DBUS_G_PROXY (priv->tp_chan));
}
+TpChan *
+empathy_tp_group_get_channel (EmpathyTpGroup *group)
+{
+ EmpathyTpGroupPriv *priv;
+
+ g_return_val_if_fail (EMPATHY_IS_TP_GROUP (group), NULL);
+
+ priv = GET_PRIV (group);
+
+ return priv->tp_chan;
+}
+
gboolean
empathy_tp_group_is_member (EmpathyTpGroup *group,
EmpathyContact *contact)
diff --git a/libempathy/empathy-tp-group.h b/libempathy/empathy-tp-group.h
index 7323b6e02..80e562594 100644
--- a/libempathy/empathy-tp-group.h
+++ b/libempathy/empathy-tp-group.h
@@ -81,6 +81,7 @@ GList * empathy_tp_group_get_remote_pendings (EmpathyTpGroup *gr
const gchar * empathy_tp_group_get_name (EmpathyTpGroup *group);
EmpathyContact * empathy_tp_group_get_self_contact (EmpathyTpGroup *group);
const gchar * empathy_tp_group_get_object_path (EmpathyTpGroup *group);
+TpChan * empathy_tp_group_get_channel (EmpathyTpGroup *group);
gboolean empathy_tp_group_is_member (EmpathyTpGroup *group,
EmpathyContact *contact);
EmpathyPendingInfo *empathy_pending_info_new (EmpathyContact *member,