[anjuta] anjuta: bgo #618273 - Anjuta closes when pressing ESC in the save dialog



commit 4a4022da6c5d0ffa097b99abbb3ab3c9502d982b
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Mon Jun 7 18:28:14 2010 +0200

    anjuta: bgo #618273  - Anjuta closes when pressing ESC in the save dialog

 src/anjuta.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/anjuta.c b/src/anjuta.c
index 9e0d0a8..4ef6441 100644
--- a/src/anjuta.c
+++ b/src/anjuta.c
@@ -69,6 +69,7 @@ on_anjuta_delete_event (AnjutaApp *app, GdkEvent *event, gpointer data)
 	{
 		switch (gtk_dialog_run (GTK_DIALOG (save_prompt)))
 		{
+			case GTK_RESPONSE_DELETE_EVENT:
 			case ANJUTA_SAVE_PROMPT_RESPONSE_CANCEL:
 				gtk_widget_destroy (GTK_WIDGET (save_prompt));
 				/* Do not exit now */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]