mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-11 08:46:34 +01:00
Refactor: Add PrefsBoxOrderListBoxes via UI file a. let them self-init
Add the `PrefsBoxOrderListBox`es to the `PrefsPage` via the `PrefsPage`es UI file. Also let the `PrefsBoxOrderListBox`es initialize themselves based on the given box order.
This commit is contained in:
parent
c54e24c151
commit
5362629f94
3 changed files with 51 additions and 31 deletions
|
|
@ -15,6 +15,11 @@
|
|||
<property name="margin-bottom">12</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="PrefsBoxOrderListBox">
|
||||
<property name="box-order">left-box-order</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -28,6 +33,11 @@
|
|||
<property name="margin-bottom">12</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="PrefsBoxOrderListBox">
|
||||
<property name="box-order">center-box-order</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -41,6 +51,11 @@
|
|||
<property name="margin-bottom">12</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="PrefsBoxOrderListBox">
|
||||
<property name="box-order">right-box-order</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue