aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/plugin.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 95c1317..14d7d9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-03-25 Rob Bradford <rob@openedhand.com>
+ * src/plugin.c: (update_state):
+ Add missing break statement that was causing the shutdown action to be
+ disabled when it should have been enabled.
+
+2008-03-25 Rob Bradford <rob@openedhand.com>
+
* src/plugin.c: (do_local_gdb):
Fix regression where gdb cross failed due to hard coded paths for the
full Poky tree case.
diff --git a/src/plugin.c b/src/plugin.c
index efe3f0d..92314dc 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -1229,6 +1229,7 @@ update_state (AnjutaPluginSdk *sp)
case TARGET_STATE_READY:
gtk_action_set_sensitive (sp->qemu_start_action, FALSE);
gtk_action_set_sensitive (sp->qemu_shutdown_action, TRUE);
+ break;
case TARGET_STATE_BUSY:
gtk_action_set_sensitive (sp->qemu_shutdown_action, FALSE);
default: