gtk4: remove stray label_yalign
Change-Id: Ia1eb3fe4fac9511c4d0b531bdbc722e420a96f1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129150 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
d5d49b49ab
commit
28e76f61ff
2 changed files with 13 additions and 1 deletions
|
@ -368,6 +368,18 @@ def remove_double_buffered(current):
|
|||
if double_buffered != None:
|
||||
current.remove(double_buffered)
|
||||
|
||||
def remove_label_yalign(current):
|
||||
label_yalign = None
|
||||
for child in current:
|
||||
remove_label_yalign(child)
|
||||
if child.tag == "property":
|
||||
attributes = child.attrib
|
||||
if attributes.get("name") == "label_yalign" or attributes.get("name") == "label-yalign":
|
||||
label_yalign = child
|
||||
|
||||
if label_yalign != None:
|
||||
current.remove(label_yalign)
|
||||
|
||||
def remove_skip_pager_hint(current):
|
||||
skip_pager_hint = None
|
||||
for child in current:
|
||||
|
@ -628,6 +640,7 @@ enforce_active_in_group_consistency(root)
|
|||
enforce_entry_text_column_id_column_for_gtkcombobox(root)
|
||||
remove_entry_shadow_type(root)
|
||||
remove_double_buffered(root)
|
||||
remove_label_yalign(root)
|
||||
remove_skip_pager_hint(root)
|
||||
remove_gravity(root)
|
||||
remove_toolbutton_focus(root)
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="label_xalign">0</property>
|
||||
<property name="label_yalign">0</property>
|
||||
<property name="shadow_type">none</property>
|
||||
<child>
|
||||
<!-- n-columns=1 n-rows=1 -->
|
||||
|
|
Loading…
Reference in a new issue