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:
June 2023-01-22 19:12:55 +01:00
commit 5362629f94
No known key found for this signature in database
GPG key ID: 094C2AC34192FA11
3 changed files with 51 additions and 31 deletions

View file

@ -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>