aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-dialogs.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-04-16 20:28:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-04-16 20:28:11 +0800
commitb93db55ba9359209550ec81ab29cbf5bdabafd2b (patch)
tree074848e2a6bac4efc14976dd592febfaaada46fd /libempathy-gtk/empathy-contact-dialogs.c
parent13e35172d60ac123dfb52ac90383be0714a582de (diff)
downloadgsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.tar
gsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.tar.gz
gsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.tar.bz2
gsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.tar.lz
gsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.tar.xz
gsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.tar.zst
gsoc2013-empathy-b93db55ba9359209550ec81ab29cbf5bdabafd2b.zip
Port EmpathyContactWidget to new API
From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2847
Diffstat (limited to 'libempathy-gtk/empathy-contact-dialogs.c')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index d287b4d78..72b5b28b3 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -121,6 +121,8 @@ empathy_subscription_dialog_show (EmpathyContact *contact,
contact_widget,
TRUE, TRUE,
0);
+ gtk_widget_show (contact_widget);
+
g_object_set_data (G_OBJECT (dialog), "contact_widget", contact_widget);
subscription_dialogs = g_list_prepend (subscription_dialogs, dialog);
@@ -216,6 +218,7 @@ empathy_contact_information_dialog_show (EmpathyContact *contact,
empathy_account_chooser_filter_is_connected,
NULL);
}
+ gtk_widget_show (contact_widget);
g_object_set_data (G_OBJECT (dialog), "contact_widget", contact_widget);
information_dialogs = g_list_prepend (information_dialogs, dialog);
@@ -317,6 +320,7 @@ empathy_new_contact_dialog_show (GtkWindow *parent)
empathy_contact_widget_set_account_filter (contact_widget,
can_add_contact_to_account,
NULL);
+ gtk_widget_show (contact_widget);
new_contact_dialog = dialog;