diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-11-10 22:44:23 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-11-10 22:44:23 -0500 |
commit | 165f1b9aec0840d8e420196a2a85aa57d379b67d (patch) | |
tree | 41000f759ce5e0f938a8bf4dea4974cf8496fc89 | |
parent | 8e246a73fbbbcb882a556e9d1fb5ed79a50e6e45 (diff) | |
download | glade-165f1b9aec0840d8e420196a2a85aa57d379b67d.tar.gz |
Stack switcher improvements
Mark the title property as translatable, and prevent the stack
property from showing up twice in the editor.
-rw-r--r-- | 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 252ae0d6..9493fbad 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"/> |