[glade/stack] Stack switcher improvements



commit 165f1b9aec0840d8e420196a2a85aa57d379b67d
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 252ae0d..9493fba 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]