aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-dialogs.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-04-22 16:35:40 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:16 +0800
commit106a3a59f4a0192e7db510359dbbde0c1acc0b05 (patch)
tree9fe12dd1369dc027a1ecde729158899c91007985 /libempathy-gtk/empathy-contact-dialogs.c
parent0874efca4fb081ff999b6ec37cedd2ce8686d9d3 (diff)
downloadgsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.tar
gsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.tar.gz
gsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.tar.bz2
gsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.tar.lz
gsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.tar.xz
gsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.tar.zst
gsoc2013-empathy-106a3a59f4a0192e7db510359dbbde0c1acc0b05.zip
Don't forget to show the contact widget in some places
Diffstat (limited to 'libempathy-gtk/empathy-contact-dialogs.c')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index 38e02409f..056ec2d85 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -116,6 +116,7 @@ empathy_subscription_dialog_show (EmpathyContact *contact,
g_free (filename);
g_object_unref (gui);
+ /* Contact info widget */
contact_widget = empathy_contact_widget_new (contact,
EMPATHY_CONTACT_WIDGET_EDIT_ALIAS |
EMPATHY_CONTACT_WIDGET_EDIT_GROUPS);
@@ -125,7 +126,6 @@ empathy_subscription_dialog_show (EmpathyContact *contact,
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);
@@ -195,6 +195,7 @@ empathy_contact_information_dialog_show (EmpathyContact *contact,
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
contact_widget,
TRUE, TRUE, 0);
+ gtk_widget_show (contact_widget);
g_object_set_data (G_OBJECT (dialog), "contact_widget", contact_widget);
information_dialogs = g_list_prepend (information_dialogs, dialog);
@@ -253,6 +254,8 @@ empathy_contact_edit_dialog_show (EmpathyContact *contact,
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
contact_widget,
TRUE, TRUE, 0);
+ gtk_widget_show (contact_widget);
+
g_object_set_data (G_OBJECT (dialog), "contact_widget", contact_widget);
edit_dialogs = g_list_prepend (edit_dialogs, dialog);
@@ -304,8 +307,8 @@ empathy_contact_personal_dialog_show (GtkWindow *parent)
contact_widget,
TRUE, TRUE, 0);
empathy_contact_widget_set_account_filter (contact_widget,
- empathy_account_chooser_filter_is_connected,
- NULL);
+ empathy_account_chooser_filter_is_connected, NULL);
+ gtk_widget_show (contact_widget);
g_signal_connect (personal_dialog, "response",
G_CALLBACK (gtk_widget_destroy), NULL);