[gtk+] widget-factory: Make one switch start out active



commit 0a44be21afa6cf17d0b2e79ec2bc772dd1437239
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 4 10:12:19 2014 +0200

    widget-factory: Make one switch start out active
    
    This nicely shows off
    https://bugzilla.gnome.org/show_bug.cgi?id=734213

 demos/widget-factory/widget-factory.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index e675fd4..6db986c 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -2204,6 +2204,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                                         <child>
                                           <object class="GtkSwitch">
                                             <property name="visible">True</property>
+                                            <property name="active">True</property>
                                             <property name="halign">end</property>
                                             <property name="valign">center</property>
                                             <property name="margin-top">6</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]