mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-10 16:26:35 +01:00
Feature: Add move up and down buttons to make the prefs keyboard access.
Don't use CONSTRUCT_ONLY anymore to be able to use private properties (or any properties at all it seems).
This commit is contained in:
parent
a1188d5684
commit
9b7ab0614c
6 changed files with 219 additions and 34 deletions
|
|
@ -42,6 +42,16 @@
|
|||
</child>
|
||||
</template>
|
||||
<menu id="optionsMenuModel">
|
||||
<section>
|
||||
<item>
|
||||
<attribute name="label">Move Up</attribute>
|
||||
<attribute name="action">row.move-up</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label">Move Down</attribute>
|
||||
<attribute name="action">row.move-down</attribute>
|
||||
</item>
|
||||
</section>
|
||||
<section>
|
||||
<item>
|
||||
<attribute name="label">Forget</attribute>
|
||||
|
|
|
|||
|
|
@ -13,8 +13,9 @@
|
|||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="PrefsBoxOrderListBox">
|
||||
<object class="PrefsBoxOrderListBox" id="left-box-order-list-box">
|
||||
<property name="box-order">left-box-order</property>
|
||||
<signal name="row-move" handler="onRowMove"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -26,8 +27,9 @@
|
|||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="PrefsBoxOrderListBox">
|
||||
<object class="PrefsBoxOrderListBox" id="center-box-order-list-box">
|
||||
<property name="box-order">center-box-order</property>
|
||||
<signal name="row-move" handler="onRowMove"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -39,8 +41,9 @@
|
|||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="PrefsBoxOrderListBox">
|
||||
<object class="PrefsBoxOrderListBox" id="right-box-order-list-box">
|
||||
<property name="box-order">right-box-order</property>
|
||||
<signal name="row-move" handler="onRowMove"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue