2018-06-29 15:55:59 +12:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.20"/>
|
2022-02-12 15:17:20 -08:00
|
|
|
<template class="CcInputRow" parent="AdwActionRow">
|
2018-11-19 11:30:41 +13:00
|
|
|
<property name="selectable">False</property>
|
2022-02-12 15:17:20 -08:00
|
|
|
<child type="prefix">
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="icon_name">list-drag-handle-symbolic</property>
|
|
|
|
<style>
|
|
|
|
<class name="drag-handle"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="suffix">
|
|
|
|
<object class="GtkMenuButton">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="icon_name">view-more-symbolic</property>
|
|
|
|
<property name="popover">popover_menu</property>
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2018-06-29 15:55:59 +12:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
2021-10-31 17:40:27 -03:00
|
|
|
<object class="GtkPopover" id="popover_menu">
|
|
|
|
<style>
|
|
|
|
<class name="menu" />
|
|
|
|
</style>
|
2020-09-15 09:21:38 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
2021-10-31 17:40:27 -03:00
|
|
|
<property name="margin-top">6</property>
|
|
|
|
<property name="margin-bottom">6</property>
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
<property name="margin-end">6</property>
|
2020-09-15 09:21:38 -07:00
|
|
|
<property name="orientation">vertical</property>
|
2020-09-15 09:22:51 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton">
|
|
|
|
<signal name="clicked" handler="move_up_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2021-10-31 17:40:27 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Move up</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:22:51 -07:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton">
|
|
|
|
<signal name="clicked" handler="move_down_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2021-10-31 17:40:27 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Move down</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:22:51 -07:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="orientation">horizontal</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:21:38 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="settings_button">
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<signal name="clicked" handler="settings_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
2021-10-31 17:40:27 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Preferences</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:21:38 -07:00
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:22:51 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator" id="settings_separator">
|
|
|
|
<property name="orientation">horizontal</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:21:38 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton">
|
|
|
|
<signal name="clicked" handler="layout_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2021-10-31 17:40:27 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">View Keyboard Layout</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:21:38 -07:00
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:22:51 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="orientation">horizontal</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:21:38 -07:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="remove_button">
|
|
|
|
<signal name="clicked" handler="remove_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2021-10-31 17:40:27 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Remove</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-09-15 09:21:38 -07:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2018-06-29 15:55:59 +12:00
|
|
|
</interface>
|