[gnome-boxes/gnome-3-4] unattended: sync widgets sensitivity when setting up UI
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-4] unattended: sync widgets sensitivity when setting up UI
- Date: Fri, 8 Jun 2012 16:38:37 +0000 (UTC)
commit 0bf14600427fe5e08cb5f713e977c09194bc4474
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Fri Jun 1 13:13:29 2012 +0200
unattended: sync widgets sensitivity when setting up UI
Avoid inconsistent state after creation.
src/unattended-installer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index d16d49d..aba7051 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -237,7 +237,7 @@ private abstract class Boxes.UnattendedInstaller: InstallerMedia {
foreach (var child in setup_table.get_children ())
if (child != express_toggle)
- express_toggle.bind_property ("active", child, "sensitive", 0);
+ express_toggle.bind_property ("active", child, "sensitive", BindingFlags.SYNC_CREATE);
}
protected virtual void clean_up () throws GLib.Error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]