diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-03-17 19:58:56 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-03-17 20:53:42 +0800 |
commit | 1dc905b194ce6e1be82af2e111cdf7a913dd43fc (patch) | |
tree | fb67876e5774e945051a0a361f0e4286bc0737ae | |
parent | f918489642f3e0f41f09c774a4e4b80497c9592a (diff) | |
download | gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.tar gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.tar.gz gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.tar.bz2 gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.tar.lz gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.tar.xz gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.tar.zst gsoc2013-empathy-1dc905b194ce6e1be82af2e111cdf7a913dd43fc.zip |
Contact Search: close the dialog when adding a contact
-rw-r--r-- | libempathy-gtk/empathy-contact-search-dialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |