aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Bradford <rob@o-hand.com>2008-03-25 17:28:02 +0000
committerrob <rob@aea7fca7-3721-49c4-ace3-ac8c44b998bb>2008-03-25 17:28:02 +0000
commitb99a269934068d128e93c91f20c07ec003a96705 (patch)
tree0cff16e331692b9184163614349df095813de9a0
parent12e3e23ed727d27517446b209c20d6aaeae46d15 (diff)
downloadanjuta-poky-b99a269934068d128e93c91f20c07ec003a96705.tar.gz
anjuta-poky-b99a269934068d128e93c91f20c07ec003a96705.tar.bz2
anjuta-poky-b99a269934068d128e93c91f20c07ec003a96705.zip
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.
-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: