2019-07-02 12:36:42 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2022-01-22 14:57:42 -08:00
|
|
|
<template class="CcSearchPanelRow" parent="AdwActionRow">
|
2022-02-08 20:42:17 -08:00
|
|
|
<property name="activatable-widget">switcher</property>
|
2022-01-22 14:57:42 -08:00
|
|
|
<child type="prefix">
|
|
|
|
<object class="GtkImage" id="icon">
|
|
|
|
<property name="icon-size">large</property>
|
|
|
|
<style>
|
|
|
|
<class name="lowres-icon"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<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="GtkSwitch" id="switcher">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="suffix">
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="orientation">vertical</property>
|
2021-10-20 16:56:11 -03:00
|
|
|
<property name="margin-top">12</property>
|
|
|
|
<property name="margin-bottom">12</property>
|
2022-01-22 14:57:42 -08:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="suffix">
|
|
|
|
<object class="GtkMenuButton">
|
2023-11-12 21:59:23 -03:00
|
|
|
<property name="tooltip-text" translatable="yes">View More</property>
|
2022-01-22 14:57:42 -08:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="icon-name">view-more-symbolic</property>
|
2022-01-22 15:25:23 -08:00
|
|
|
<property name="menu-model">move_row_menu</property>
|
2022-05-18 17:44:42 +02:00
|
|
|
<accessibility>
|
|
|
|
<property name="label" translatable="yes">More options…</property>
|
|
|
|
</accessibility>
|
2022-01-22 14:57:42 -08:00
|
|
|
<style>
|
|
|
|
<class name="flat"/>
|
|
|
|
</style>
|
2019-07-02 12:36:42 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
2019-07-02 16:53:36 +02:00
|
|
|
|
|
|
|
<!-- Move Row Menu -->
|
2022-01-22 15:25:23 -08:00
|
|
|
<menu id="move_row_menu">
|
|
|
|
<section>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Move Up</attribute>
|
2022-08-15 10:57:20 +02:00
|
|
|
<attribute name="action">row.move-up</attribute>
|
2022-01-22 15:25:23 -08:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Move Down</attribute>
|
2022-08-15 10:57:20 +02:00
|
|
|
<attribute name="action">row.move-down</attribute>
|
2022-01-22 15:25:23 -08:00
|
|
|
</item>
|
|
|
|
</section>
|
|
|
|
</menu>
|
2019-07-02 12:36:42 +00:00
|
|
|
</interface>
|