-
Notifications
You must be signed in to change notification settings - Fork 324
Expand file tree
/
Copy pathpreferences-shortcut-editor.ui
More file actions
144 lines (141 loc) · 5.99 KB
/
Copy pathpreferences-shortcut-editor.ui
File metadata and controls
144 lines (141 loc) · 5.99 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
SPDX-License-Identifier: GPL-2.0-or-later
-->
<interface>
<requires lib="gtk+" version="3.24"/>
<template class="GSConnectPreferencesShortcutEditor" parent="GtkDialog">
<property name="can_focus">False</property>
<property name="modal">True</property>
<property name="title">Set Shortcut</property>
<property name="type_hint">dialog</property>
<child type="action">
<object class="GtkButton" id="cancel-button">
<property name="can_focus">False</property>
<property name="label" translatable="yes">Cancel</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="set-button">
<property name="can-default">True</property>
<property name="label" translatable="yes">Set</property>
</object>
</child>
<action-widgets>
<action-widget response="cancel">cancel-button</action-widget>
<action-widget response="apply" default="true">set-button</action-widget>
</action-widgets>
<child internal-child="vbox">
<object class="GtkBox">
<property name="spacing">18</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="border_width">12</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="summary-label">
<property name="can_focus">False</property>
<property name="use_markup">True</property>
<property name="visible">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Note that you have to first disable any conflicting shortucts in GNOME Settings.</property>
<property name="visible">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="transition_type">crossfade</property>
<child>
<object class="GtkGrid">
<property name="can_focus">False</property>
<property name="row_spacing">18</property>
<property name="visible">True</property>
<child>
<object class="GtkImage" id="edit-image">
<property name="can_focus">False</property>
<property name="resource">/org/gnome/Shell/Extensions/GSConnect/images/enter-keyboard-shortcut.svg</property>
<property name="visible">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes" comments="Keys for cancelling (␛) or resetting (␈) a shortcut">Press Esc to cancel or Backspace to reset the keyboard shortcut.</property>
<property name="visible">True</property>
<style>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
</object>
<packing>
<property name="name">edit</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkGrid">
<property name="can_focus">False</property>
<property name="row_spacing">18</property>
<property name="visible">True</property>
<child>
<object class="GtkShortcutLabel" id="shortcut-label">
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="hexpand">True</property>
<property name="visible">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="name">confirm</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
</object>
</child>
</template>
</interface>