aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-main-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-09 20:47:48 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-09 20:47:48 +0800
commitc36ed803c1d40b59e7b86051123f35b2062b95f7 (patch)
treee9013bdab1397d46c055bc8bdf0454b869499a29 /libempathy-gtk/empathy-main-window.c
parentb2fea5050c4b89ec3d9d8589948dd85adc757778 (diff)
downloadgsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.tar
gsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.tar.gz
gsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.tar.bz2
gsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.tar.lz
gsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.tar.xz
gsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.tar.zst
gsoc2013-empathy-c36ed803c1d40b59e7b86051123f35b2062b95f7.zip
We can now add a new contact. EmpathyContactWidget can change the contact
2007-06-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-contact-widget.c: We can now add a new contact. EmpathyContactWidget can change the contact it's displaying on-the-fly, like that we can display info when typing the contact ID we want to add to our contact list. * libempathy/empathy-tp-contact-list.c: Fix a refcount bug. svn path=/trunk/; revision=134
Diffstat (limited to 'libempathy-gtk/empathy-main-window.c')
-rw-r--r--libempathy-gtk/empathy-main-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-main-window.c b/libempathy-gtk/empathy-main-window.c
index 1ae227410..7f8693278 100644
--- a/libempathy-gtk/empathy-main-window.c
+++ b/libempathy-gtk/empathy-main-window.c
@@ -37,6 +37,7 @@
#include <libempathy/empathy-contact-manager.h>
#include "empathy-main-window.h"
+#include "empathy-contact-dialogs.h"
#include "ephy-spinner.h"
#include "gossip-contact-list-store.h"
#include "gossip-contact-list-view.h"
@@ -566,7 +567,7 @@ static void
main_window_chat_add_contact_cb (GtkWidget *widget,
EmpathyMainWindow *window)
{
- //gossip_add_contact_dialog_show (GTK_WINDOW (window->window), NULL);
+ empathy_new_contact_dialog_show (GTK_WINDOW (window->window));
}
static void