blob: 1732fcd6f41aaf7efaaaeca0de1f75fd042cef24 (
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcTimeEditor" parent="GtkBin">
<property name="visible">True</property>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="row-spacing">6</property>
<property name="column-spacing">6</property>
<!-- Increment Hour Button -->
<child>
<object class="GtkButton" id="hour_up_button">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="halign">center</property>
<signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/>
<signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/>
<style>
<class name="titlebutton"/>
<class name="circular"/>
<class name="flat"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">go-up-symbolic</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject">
<property name="AtkObject::accessible-name" translatable="yes">Increment Hour</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<!-- Increment Minute Button -->
<child>
<object class="GtkButton" id="minute_up_button">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="halign">center</property>
<signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/>
<signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/>
<style>
<class name="titlebutton"/>
<class name="circular"/>
<class name="flat"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">go-up-symbolic</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject">
<property name="AtkObject::accessible-name" translatable="yes">Increment Minute</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="CcTimeEntry" id="time_entry">
<property name="visible">True</property>
<child internal-child="accessible">
<object class="AtkObject">
<property name="AtkObject::accessible-description" translatable="yes">Time</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
<property name="width">2</property>
</packing>
</child>
<!-- Decrement Hour Button -->
<child>
<object class="GtkButton" id="hour_down_button">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="halign">center</property>
<signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/>
<signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/>
<style>
<class name="titlebutton"/>
<class name="circular"/>
<class name="flat"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">go-down-symbolic</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject">
<property name="AtkObject::accessible-name" translatable="yes">Decrement Hour</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
<!-- Decrement Minute Button -->
<child>
<object class="GtkButton" id="minute_down_button">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="halign">center</property>
<signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/>
<signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/>
<style>
<class name="titlebutton"/>
<class name="circular"/>
<class name="flat"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">go-down-symbolic</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject">
<property name="AtkObject::accessible-name" translatable="yes">Decrement Minute</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<!-- AM/PM Button -->
<child>
<object class="GtkButton" id="am_pm_button">
<property name="visible">True</property>
<property name="valign">center</property>
<signal name="clicked" handler="editor_am_pm_button_clicked_cb" swapped="yes"/>
<child>
<object class="GtkStack" id="am_pm_stack">
<property name="visible">True</property>
<signal name="notify::visible-child" handler="editor_am_pm_stack_changed_cb" swapped="yes"/>
<child>
<object class="GtkLabel" id="am_label">
<property name="visible">True</property>
<attributes>
<attribute name="scale" value="1.4"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel" id="pm_label">
<property name="visible">True</property>
<attributes>
<attribute name="scale" value="1.4"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">1</property>
</packing>
</child>
</object>
</child>
</template>
</interface>
|