From 82527b17135aeded0c42d00ee2641a73cd28c3fe Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Thu, 23 Oct 2008 09:31:22 +0000 Subject: [PATCH] * Send a delete event to close the dialog if the close button is clicked pmo-trunk-r6144 --- src/hildon2/modest-account-view-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5