blob: dc53aad05a7a7067677c47b7b61b2533f7b15e94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<template class="CcSearchPanelRow" parent="GtkListBoxRow">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="selectable">False</property>
<signal name="drag_data_received" handler="drag_data_received_cb" object="CcSearchPanelRow" swapped="yes"/>
<child>
<object class="GtkEventBox" id="drag_handle">
<property name="visible">True</property>
<signal name="drag_data_get" handler="drag_data_get_cb" object="CcSearchPanelRow" swapped="yes"/>
<signal name="drag-begin" handler="drag_begin_cb" object="CcSearchPanelRow" swapped="yes"/>
<signal name="drag_end" handler="drag_end_cb" object="CcSearchPanelRow" swapped="yes"/>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="spacing">10</property>
<property name="border-width">10</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">list-drag-handle-symbolic</property>
<style>
<class name="drag-handle"/>
</style>
</object>
</child>
<child>
<object class="GtkImage" id="icon">
<property name="visible">True</property>
<style>
<class name="lowres-icon"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="app_name">
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="ellipsize">end</property>
<property name="xalign">0.0</property>
</object>
</child>
<child>
<object class="GtkSwitch" id="switcher">
<property name="visible">True</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="orientation">vertical</property>
</object>
</child>
<child>
<object class="GtkMenuButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="popover">move_row_menu</property>
<style>
<class name="flat"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">view-more-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<!-- Move Row Menu -->
<object class="GtkPopoverMenu" id="move_row_menu">
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin">12</property>
<property name="spacing">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="label" translatable="yes">Move Up</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="xalign">0.0</property>
<signal name="clicked" handler="move_up_button_clicked"/>
</object>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="label" translatable="yes">Move Down</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="xalign">0.0</property>
<signal name="clicked" handler="move_down_button_clicked"/>
</object>
</child>
</object>
</child>
</object>
</interface>
|