forked from AuroraMiddleware/gtk
builder-tool: Replace GtkStack:homogeneous
Replace this property by h/vhomogeneous. Add a test.
This commit is contained in:
parent
5f01f6f36b
commit
2e2121c7ad
@ -732,7 +732,8 @@ maybe_rename_property (Element *element, MyParserData *data)
|
||||
{ "GtkWidget", "margin", GTK_TYPE_WIDGET, PROP_KIND_OBJECT, "margin-bottom", { "margin-start", "margin-end", "margin-top" } },
|
||||
{ "GtkWidget", "margin-left", GTK_TYPE_WIDGET, PROP_KIND_OBJECT, "margin-start", { NULL, NULL, NULL } },
|
||||
{ "GtkWidget", "margin-right", GTK_TYPE_WIDGET, PROP_KIND_OBJECT, "margin-end", { NULL, NULL, NULL } },
|
||||
{ "GtkHeaderBar", "show-close-button", GTK_TYPE_HEADER_BAR, PROP_KIND_OBJECT, "show-title-buttons", { NULL, NULL, NULL } }
|
||||
{ "GtkHeaderBar", "show-close-button", GTK_TYPE_HEADER_BAR, PROP_KIND_OBJECT, "show-title-buttons", { NULL, NULL, NULL } },
|
||||
{ "GtkStack", "homogeneous", GTK_TYPE_STACK, PROP_KIND_OBJECT, "hhomogeneous", { "vhomogeneous", NULL, NULL } }
|
||||
};
|
||||
int i, k, l;
|
||||
PropKind kind;
|
||||
|
@ -10,6 +10,8 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkStack" id="stack1">
|
||||
<property name="vhomogeneous">0</property>
|
||||
<property name="hhomogeneous">0</property>
|
||||
<child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">page1</property>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<child>
|
||||
<object class="GtkStack" id="stack1">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">0</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="page1">
|
||||
<property name="label" translatable="yes">Yes</property>
|
||||
|
Loading…
Reference in New Issue
Block a user