[anjuta] debug-manager: Default to Yes in "The program is running" dialog.



commit 369759077c65f04f46a39a411fc43f7574aee656
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Thu Jan 10 18:21:07 2013 +0100

    debug-manager: Default to Yes in "The program is running" dialog.
    
    As was done in the run-program plugin. Also add "already" to the string so
    that it is the same as in the run-program dialog.

 plugins/debug-manager/start.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/debug-manager/start.c b/plugins/debug-manager/start.c
index fdfd025..eb124a1 100644
--- a/plugins/debug-manager/start.c
+++ b/plugins/debug-manager/start.c
@@ -1387,10 +1387,10 @@ dma_quit_debugger (DmaStart* this)
 {
 	if (dma_debugger_queue_get_state (this->debugger) > IANJUTA_DEBUGGER_PROGRAM_LOADED)
 	{
-        gchar *msg = _("The program is running.\n"
+        gchar *msg = _("The program is already running.\n"
                       	"Do you still want to stop the debugger?");
 		
-		if (!anjuta_util_dialog_boolean_question (GTK_WINDOW (this->plugin->shell), FALSE, msg)) return FALSE;
+		if (!anjuta_util_dialog_boolean_question (GTK_WINDOW (this->plugin->shell), TRUE, msg)) return FALSE;
 	}
 	
 	dma_queue_interrupt (this->debugger);



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