From: Sergio Villar Senin Date: Thu, 23 Oct 2008 09:31:22 +0000 (+0000) Subject: * Send a delete event to close the dialog if the close button is clicked X-Git-Tag: git_migration_finished~1113 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=82527b17135aeded0c42d00ee2641a73cd28c3fe * Send a delete event to close the dialog if the close button is clicked pmo-trunk-r6144 --- diff --git a/src/hildon2/modest-account-view-window.c b/src/hildon2/modest-account-view-window.c index 45c498c..f6670da 100644 --- a/src/hildon2/modest-account-view-window.c +++ b/src/hildon2/modest-account-view-window.c @@ -392,7 +392,7 @@ on_close_button_clicked (GtkWidget *button, gpointer user_data) { ModestAccountViewWindow *self = MODEST_ACCOUNT_VIEW_WINDOW (user_data); - gtk_dialog_response (GTK_DIALOG (self), GTK_RESPONSE_OK); + gtk_dialog_response (GTK_DIALOG (self), GTK_RESPONSE_DELETE_EVENT); } static void