From 1dc905b194ce6e1be82af2e111cdf7a913dd43fc Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 17 Mar 2011 11:58:56 +0000 Subject: Contact Search: close the dialog when adding a contact --- libempathy-gtk/empathy-contact-search-dialog.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c index 350879e19..aeb0767d3 100644 --- a/libempathy-gtk/empathy-contact-search-dialog.c +++ b/libempathy-gtk/empathy-contact-search-dialog.c @@ -172,6 +172,9 @@ add_selected_contact (EmpathyContactSearchDialog *self) empathy_tp_contact_factory_get_from_id (conn, id, on_get_contact_factory_get_from_id_cb, NULL, NULL, NULL); + + /* Close the dialog */ + gtk_dialog_response (GTK_DIALOG (self), GTK_RESPONSE_CANCEL); } static void -- cgit v1.2.3