[gnome-boxes] libvirt-machine-props: Customization doesn't change UI state
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] libvirt-machine-props: Customization doesn't change UI state
- Date: Sun, 7 Dec 2014 23:43:24 +0000 (UTC)
commit c016a7db4f29dddbdc30cdc2fa29778466012c78
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Dec 7 22:01:28 2014 +0000
libvirt-machine-props: Customization doesn't change UI state
The UI remains to be in wizard state when customizing now so the check
for UI state needs to be updated.
https://bugzilla.gnome.org/show_bug.cgi?id=741046
src/libvirt-machine-properties.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 1ce6272..f7a3737 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -455,7 +455,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
property.widget.margin_top = 5;
if ((VMConfigurator.is_install_config (machine.domain_config) ||
VMConfigurator.is_live_config (machine.domain_config)) &&
- machine.window.previous_ui_state != Boxes.UIState.WIZARD)
+ machine.window.ui_state != Boxes.UIState.WIZARD)
property.sensitive = false;
else
property.changed.connect (on_ram_changed);
@@ -543,7 +543,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
property.defer_interval = 0;
if ((VMConfigurator.is_install_config (machine.domain_config) ||
VMConfigurator.is_live_config (machine.domain_config)) &&
- machine.window.previous_ui_state != Boxes.UIState.WIZARD)
+ machine.window.ui_state != Boxes.UIState.WIZARD)
property.sensitive = false;
else
property.changed.connect (on_storage_changed);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]