aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliping ke <liping.ke@intel.com>2010-09-01 17:49:12 +0800
committerJoshua Lock <josh@linux.intel.com>2010-09-07 16:22:48 +0100
commitd8ee836307d6ef412675591120f855ba4cbe32b7 (patch)
treecab213e03d06097423e3f90cdc126129bd6f7381
parentb2f7281cec01de89ecc358d9c005f66e74017632 (diff)
downloadanjuta-poky-d8ee836307d6ef412675591120f855ba4cbe32b7.tar.gz
anjuta-poky-d8ee836307d6ef412675591120f855ba4cbe32b7.tar.bz2
anjuta-poky-d8ee836307d6ef412675591120f855ba4cbe32b7.zip
Enable unfs qemu mode
Since now unfs style qemu is supported, this patch will switch to the new unfs qemu style. Signed-off-by: Liping Ke<liping.ke@intel.com>
-rw-r--r--src/beaver-settings-page.c6
-rw-r--r--src/beaver-target-qemu.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/beaver-settings-page.c b/src/beaver-settings-page.c
index 0594ec6..3fa1c60 100644
--- a/src/beaver-settings-page.c
+++ b/src/beaver-settings-page.c
@@ -581,8 +581,8 @@ create_ui (BeaverSettingsPage *page)
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
/* chooser */
- chooser = gtk_file_chooser_button_new (_("Select root filesystem file"),
- GTK_FILE_CHOOSER_ACTION_OPEN);
+ chooser = gtk_file_chooser_button_new (_("Select root filesystem directory"),
+ GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
gtk_box_pack_start (GTK_BOX (hbox), chooser, TRUE, TRUE, 0);
gtk_size_group_add_widget (target_fields_group, chooser);
priv->rootfs_chooser = chooser;
@@ -596,6 +596,8 @@ create_ui (BeaverSettingsPage *page)
ANJUTA_PROPERTY_OBJECT_TYPE_FILE,
ANJUTA_PROPERTY_DATA_TYPE_TEXT);
+ if (!res)
+ g_warning ("Error adding preference for Root File System Directory!");
/* device */
device_radio = gtk_radio_button_new_with_label_from_widget (
GTK_RADIO_BUTTON (qemu_radio), _("Use an external device"));
diff --git a/src/beaver-target-qemu.c b/src/beaver-target-qemu.c
index 7a7fbe7..2a706e2 100644
--- a/src/beaver-target-qemu.c
+++ b/src/beaver-target-qemu.c
@@ -24,7 +24,7 @@ G_DEFINE_TYPE (BeaverTargetQEMU, beaver_target_qemu, BEAVER_TYPE_TARGET)
(G_TYPE_INSTANCE_GET_PRIVATE ((o), BEAVER_TYPE_TARGET_QEMU, BeaverTargetQEMUPrivate))
#define QEMU_IP_ADDRESS "192.168.7.2"
-#define QEMU_SCRIPT "poky-qemu"
+#define QEMU_SCRIPT "runqemu-nfs"
#define ICON_FILE "anjuta-plugin-sdk.png"
#define SSH_OPTIONS "-o", "CheckHostIP no", "-o", \
"StrictHostKeyChecking no", "-o", "UserKnownHostsFile /dev/null"