=== modified file 'Src/Common/AppSettingsData.h'
--- Src/Common/AppSettingsData.h	2008-03-26 05:43:47 +0000
+++ Src/Common/AppSettingsData.h	2008-05-01 22:28:52 +0000
@@ -62,7 +62,8 @@
   {APP_BP_SPEECH_MODE, "SpeechEnabled", PERS, false, false, "Speak on stop"},
   {APP_BP_KEYBOARD_MODE, "KeyboardMode", PERS, false, false, "KeyboardMode"},
   {APP_BP_DOCK, "Dock", PERS, false, false, "Dock main window"},
-  {APP_BP_SPEECH_WORD, "SpeechWord", PERS, false, false, "Speak on word boundaries"}
+  {APP_BP_SPEECH_WORD, "SpeechWord", PERS, false, false, "Speak on word boundaries"},
+  {APP_BP_SHOW_EXIT_CONFIRM, "ConfirmExit", PERS, true, true, "Display Confirm Exit Dialog"}
 };
 
 app_lp_table app_longparamtable[] = {

=== modified file 'Src/Common/AppSettingsHeader.h'
--- Src/Common/AppSettingsHeader.h	2007-11-12 15:22:36 +0000
+++ Src/Common/AppSettingsHeader.h	2008-05-01 22:29:07 +0000
@@ -10,7 +10,7 @@
   APP_BP_TIME_STAMP = END_OF_SPS, APP_BP_SHOW_TOOLBAR,
   APP_BP_SHOW_TOOLBAR_TEXT, APP_BP_SHOW_LARGE_ICONS, APP_BP_FIX_LAYOUT,
   APP_BP_COPY_ALL_ON_STOP,APP_BP_WINDOW_PAUSE, APP_BP_SPEECH_MODE, 
-  APP_BP_KEYBOARD_MODE, APP_BP_DOCK, APP_BP_SPEECH_WORD, END_OF_APP_BPS
+  APP_BP_KEYBOARD_MODE, APP_BP_DOCK, APP_BP_SPEECH_WORD, END_OF_APP_BPS,APP_BP_SHOW_EXIT_CONFIRM
 };
 
 enum { 

Offset);

=== modified file 'Src/Gtk2/dasher_main.cpp'
--- Src/Gtk2/dasher_main.cpp	2008-04-29 04:04:34 +0000
+++ Src/Gtk2/dasher_main.cpp	2008-05-01 22:32:20 +0000
@@ -1111,22 +1136,24 @@
     }
   }
   else {
-	pDialogue = gtk_message_dialog_new(GTK_WINDOW(pPrivate->pMainWindow), GTK_DIALOG_MODAL, 
-					 GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, 
-					 _("Are you sure you wish to quit?"));
-
-    	gtk_dialog_add_buttons(GTK_DIALOG(pDialogue), 
-			   _("Don't quit"), GTK_RESPONSE_REJECT,
-			   _("Quit"), GTK_RESPONSE_ACCEPT, 
-			   NULL);
-
-    switch (gtk_dialog_run(GTK_DIALOG(pDialogue))) {
-    case GTK_RESPONSE_REJECT:
-	gtk_widget_destroy(GTK_WIDGET(pDialogue));
-      break;
-    case GTK_RESPONSE_ACCEPT:
-      gtk_main_quit();
-    }
+	if (dasher_app_settings_get_bool(pPrivate->pAppSettings, APP_BP_SHOW_EXIT_CONFIRM)){
+		pDialogue = gtk_message_dialog_new(GTK_WINDOW(pPrivate->pMainWindow), GTK_DIALOG_MODAL, 
+						GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, 
+						_("Are you sure you wish to quit?"));
+	
+		gtk_dialog_add_buttons(GTK_DIALOG(pDialogue), 
+				_("Don't quit"), GTK_RESPONSE_REJECT,
+				_("Quit"), GTK_RESPONSE_ACCEPT, 
+				NULL);
+	
+	switch (gtk_dialog_run(GTK_DIALOG(pDialogue))) {
+	case GTK_RESPONSE_REJECT:
+		gtk_widget_destroy(GTK_WIDGET(pDialogue));
+	break;
+	case GTK_RESPONSE_ACCEPT:
+	gtk_main_quit();
+	}
+   }
   }
 }
 

