[glade] Stack switcher improvements



commit b4dfd8e70eb27672cce7582a62d25cd95941e5a9
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 10 22:44:23 2014 -0500

    Stack switcher improvements
    
    Mark the title property as translatable, and prevent the stack
    property from showing up twice in the editor.

 plugins/gtk+/gtk+.xml.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index f9d35e8..fd4afb2 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -2517,13 +2517,17 @@
           </property>
           <property id="transition-duration" custom-layout="True"/>
         </properties>
+        <packing-properties>
+          <property id="title" translatable="True"/>
+        </packing-properties>
       </glade-widget-class>
 
       <glade-widget-class name="GtkStackSwitcher" generic-name="stackswitcher" _title="Stack Switcher" 
since="3.10">
         <create-editable-function>glade_gtk_stack_switcher_create_editable</create-editable-function>
 
         <properties>
-          <property id="orientation" default="GTK_ORIENTATION_HORIZONTAL"/>
+          <property id="orientation" default="GTK_ORIENTATION_HORIZONTAL" custom-layout="True"/>
+          <property id="stack" custom-layout="True"/>
           <!-- Disable GtkBox stuff -->
           <property id="size" disabled="True" default="0"/>
           <property id="homogeneous" disabled="True"/>


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