[gnome-boxes] unattended: sync widgets sensitivity when setting up UI



commit f08b5caa93298fa3b35383a05a7e4b14f48996ee
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 014125c..f6d2e02 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -247,7 +247,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]