aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-dialogs.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-07 05:27:06 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-07 05:27:06 +0800
commitdf2052eaa5587b1b5b45a16b8da02bb7158750ff (patch)
tree15532d555481bd7e5fb0f039363bb2b788c94246 /libempathy-gtk/empathy-contact-dialogs.c
parenta3a321f7e30e09c0adce157d3894642bad32e42c (diff)
downloadgsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.tar
gsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.tar.gz
gsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.tar.bz2
gsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.tar.lz
gsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.tar.xz
gsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.tar.zst
gsoc2013-empathy-df2052eaa5587b1b5b45a16b8da02bb7158750ff.zip
Fix response and action buttons.
2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.glade: * libempathy-gtk/empathy-contact-dialogs.c: Fix response and action buttons. svn path=/trunk/; revision=129
Diffstat (limited to 'libempathy-gtk/empathy-contact-dialogs.c')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index 8f377d02d..e38eb84d1 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -131,7 +131,10 @@ contact_information_response_cb (GtkDialog *dialog,
GossipContact *contact;
contact = empathy_contact_widget_get_contact (contact_widget);
- empathy_contact_widget_save (contact_widget);
+
+ if (response == GTK_RESPONSE_OK) {
+ empathy_contact_widget_save (contact_widget);
+ }
g_hash_table_remove (information_dialogs, contact);
}