* Send a delete event to close the dialog if the close button is clicked
authorSergio Villar Senin <svillar@igalia.com>
Thu, 23 Oct 2008 09:31:22 +0000 (09:31 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 23 Oct 2008 09:31:22 +0000 (09:31 +0000)
pmo-trunk-r6144

src/hildon2/modest-account-view-window.c

index 45c498c..f6670da 100644 (file)
@@ -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