diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-09-09 05:59:18 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-09-09 05:59:18 +0800 |
commit | 0608d84a95a32c6a29132e006c221ff3718e3245 (patch) | |
tree | 26dd7c542605a8974dfc50359912d893da7f6d59 /libempathy-gtk/empathy-contact-list-view.c | |
parent | ea771f7f422706c9ab39710958a7ead37bf6add3 (diff) | |
download | gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.tar gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.tar.gz gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.tar.bz2 gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.tar.lz gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.tar.xz gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.tar.zst gsoc2013-empathy-0608d84a95a32c6a29132e006c221ff3718e3245.zip |
Request media channel when clicking on call icon.
2007-09-08 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-contact-list-view.c:
* libempathy-gtk/empathy-chat-window.c: Request media channel when
clicking on call icon.
svn path=/trunk/; revision=294
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-view.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 2cadb2201..8e6b2cf09 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -1387,6 +1387,15 @@ static void contact_list_view_voip_activated (EmpathyContactListView *view, EmpathyContact *contact) { - /* FIXME: Not implemented */ + MissionControl *mc; + + mc = empathy_mission_control_new (); + mission_control_request_channel (mc, + empathy_contact_get_account (contact), + TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA, + empathy_contact_get_handle (contact), + TP_HANDLE_TYPE_CONTACT, + NULL, NULL); + g_object_unref (mc); } |