aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-04-29 23:47:51 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:35 +0800
commitab87573e65ed5f09573398e11fa286585fb13846 (patch)
tree093b7d6a422ff502939f6f02cedc78969764d6dc /src
parenta18e5fce7d4e98b0f5bbe3d2c5dc0eb9a8684dd2 (diff)
downloadgsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.tar
gsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.tar.gz
gsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.tar.bz2
gsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.tar.lz
gsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.tar.xz
gsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.tar.zst
gsoc2013-empathy-ab87573e65ed5f09573398e11fa286585fb13846.zip
Add to the EmpathyFTManager the new handlers.
Diffstat (limited to 'src')
-rw-r--r--src/empathy.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/empathy.c b/src/empathy.c
index 705e6f0e5..1b3483fba 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -417,17 +417,20 @@ new_ft_handler_cb (EmpathyFTFactory *factory,
EmpathyFTHandler *handler,
gpointer user_data)
{
- /* TODO: add to FT window */
+ EmpathyFTManager *ft_manager;
+
+ ft_manager = empathy_ft_manager_dup_singleton ();
+ empathy_ft_manager_add_handler (ft_manager, handler);
}
static void
new_call_handler_cb (EmpathyCallFactory *factory, EmpathyCallHandler *handler,
gboolean outgoing, gpointer user_data)
{
- EmpathyCallWindow *window;
+ EmpathyCallWindow *window;
- window = empathy_call_window_new (handler);
- gtk_widget_show (GTK_WIDGET (window));
+ window = empathy_call_window_new (handler);
+ gtk_widget_show (GTK_WIDGET (window));
}
int