blob: 78fa550f3a1d6038bd223158ed2d724ab9689f58 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<template class="CcRepeatKeysDialog" parent="GtkDialog">
<property name="title" translatable="yes">Repeat Keys</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="use_header_bar">1</property>
<child internal-child="headerbar">
<object class="GtkHeaderBar">
<child>
<object class="GtkSwitch" id="enable_switch">
<property name="valign">center</property>
<accessibility>
<property name="label" translatable="yes">Enable</property>
</accessibility>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Key presses repeat when key is held down.</property>
<property name="margin_start">12</property>
<property name="margin_end">6</property>
<property name="margin_top">6</property>
<property name="margin_bottom">12</property>
</object>
</child>
<child>
<object class="GtkGrid" id="delay_grid">
<property name="valign">start</property>
<property name="margin_start">12</property>
<property name="margin_end">6</property>
<property name="margin_top">6</property>
<property name="margin_bottom">12</property>
<property name="orientation">vertical</property>
<property name="row_spacing">18</property>
<property name="column_spacing">24</property>
<child>
<object class="GtkBox">
<property name="valign">start</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="delay_label">
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Delay</property>
<property name="mnemonic_widget">delay_scale</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkScale" id="delay_scale">
<property name="hexpand">True</property>
<property name="adjustment">repeat_delay_adjustment</property>
<property name="draw_value">False</property>
<property name="has_origin">False</property>
<property name="width-request">400</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
<accessibility>
<property name="label" translatable="yes">Repeat keys delay</property>
</accessibility>
</object>
</child>
</object>
</child>
<child>
<object class="GtkGrid" id="speed_grid">
<property name="valign">start</property>
<property name="margin_start">12</property>
<property name="margin_end">6</property>
<property name="margin_top">6</property>
<property name="margin_bottom">12</property>
<property name="orientation">vertical</property>
<property name="row_spacing">18</property>
<property name="column_spacing">24</property>
<child>
<object class="GtkBox">
<property name="valign">start</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="speed_label">
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Speed</property>
<property name="mnemonic_widget">speed_scale</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkScale" id="speed_scale">
<property name="hexpand">True</property>
<property name="adjustment">repeat_speed_adjustment</property>
<property name="draw_value">False</property>
<property name="has_origin">False</property>
<property name="inverted">True</property>
<property name="width-request">200</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
<accessibility>
<property name="label" translatable="yes">Repeat keys speed</property>
</accessibility>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkAdjustment" id="repeat_delay_adjustment">
<property name="lower">100</property>
<property name="upper">2000</property>
<property name="value">500</property>
<property name="step_increment">10</property>
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="repeat_speed_adjustment">
<property name="lower">0.5</property>
<property name="upper">110</property>
<property name="value">33.3</property>
<property name="step_increment">1</property>
<property name="page_increment">1</property>
</object>
<object class="GtkSizeGroup">
<widgets>
<widget name="delay_label"/>
<widget name="speed_label"/>
</widgets>
</object>
<object class="GtkSizeGroup">
<widgets>
<widget name="delay_scale"/>
<widget name="speed_scale"/>
</widgets>
</object>
</interface>
|