gtk3 3.0.8-x64-mingw32 → 3.0.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk3/rb-gtk3.c +17 -0
- data/lib/2.2/gtk3.so +0 -0
- data/lib/2.3/gtk3.so +0 -0
- data/lib/gtk3/container.rb +0 -7
- data/lib/gtk3/deprecated.rb +3 -3
- data/lib/gtk3/image.rb +7 -7
- data/lib/gtk3/loader.rb +11 -5
- data/lib/gtk3/text-buffer.rb +33 -12
- data/lib/gtk3/text-view.rb +53 -0
- data/lib/gtk3/tree-model.rb +5 -0
- data/lib/gtk3/tree-view.rb +25 -0
- data/lib/gtk3/widget.rb +0 -5
- data/sample/gtk-demo/TODO +10 -6
- data/sample/gtk-demo/application.ui +93 -70
- data/sample/gtk-demo/appmenu.ui +19 -0
- data/sample/gtk-demo/assistant.rb +1 -0
- data/sample/gtk-demo/css_accordion.css +8 -8
- data/sample/gtk-demo/css_accordion.rb +2 -2
- data/sample/gtk-demo/css_basics.css +1 -1
- data/sample/gtk-demo/css_basics.rb +2 -2
- data/sample/gtk-demo/css_multiplebgs.rb +2 -2
- data/sample/gtk-demo/css_pixbufs.css +2 -2
- data/sample/gtk-demo/css_pixbufs.rb +2 -2
- data/sample/gtk-demo/css_shadows.css +5 -5
- data/sample/gtk-demo/css_shadows.rb +2 -2
- data/sample/gtk-demo/cssview.css +5 -5
- data/sample/gtk-demo/data/16x16/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/16x16/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/22x22/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/22x22/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/24x24/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/24x24/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/256x256/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/256x256/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/32x32/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/32x32/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/48x48/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/48x48/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/512x512/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/512x512/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/source.svg +2886 -0
- data/sample/gtk-demo/data/symbolic-source.svg +29 -0
- data/sample/gtk-demo/demo.gresource.xml +16 -5
- data/sample/gtk-demo/demo.ui +1 -0
- data/sample/gtk-demo/font_features.rb +1 -1
- data/sample/gtk-demo/main.rb +2 -2
- data/sample/gtk-demo/main.ui +18 -36
- data/sample/gtk-demo/markup.rb +53 -8
- data/sample/gtk-demo/markup.txt +2 -2
- data/sample/gtk-demo/org.gtk.Demo.gschema.xml +9 -0
- data/sample/gtk-demo/pixbufs.rb +105 -145
- data/sample/gtk-demo/reset.css +1 -58
- data/sample/gtk-demo/rotated_text.rb +119 -55
- data/sample/gtk-demo/shortcuts-boxes.ui +167 -0
- data/sample/gtk-demo/shortcuts-builder.ui +547 -0
- data/sample/gtk-demo/shortcuts-clocks.ui +166 -0
- data/sample/gtk-demo/shortcuts-gedit.ui +172 -0
- data/sample/gtk-demo/shortcuts.ui +65 -0
- data/sample/gtk-demo/stack.ui +5 -5
- data/sample/gtk-demo/textscroll.rb +106 -0
- data/sample/gtk-demo/theming.ui +58 -22
- data/sample/gtk-demo/theming_style_classes.rb +5 -4
- data/sample/gtk-demo/transparent.rb +143 -0
- data/sample/misc/aboutdialog.rb +1 -1
- data/sample/misc/bindings.rb +36 -15
- data/sample/misc/combobox.rb +1 -1
- data/sample/misc/dnd.rb +3 -3
- data/sample/misc/icons-theme-viewer.rb +1 -1
- data/sample/misc/iconview.rb +2 -2
- data/sample/misc/textbuffer-serialize.rb +18 -14
- data/sample/misc/to-drawable.rb +2 -2
- data/sample/misc/tooltips.rb +1 -0
- data/sample/misc/treeview.rb +1 -1
- data/sample/tutorial/README.md +18 -18
- data/test/test-gtk-clipboard.rb +1 -1
- data/test/test-gtk-combo-box.rb +2 -2
- data/test/test-gtk-icon-view.rb +2 -2
- data/test/test-gtk-image.rb +1 -1
- data/test/test-gtk-list-store.rb +9 -3
- data/test/test-gtk-text-view.rb +64 -0
- data/test/test-gtk-tree-path.rb +1 -3
- data/test/test-gtk-tree-view.rb +97 -0
- data/test/test-gtk-window.rb +2 -2
- data/test/test-pango-context.rb +56 -0
- metadata +46 -19
data/sample/gtk-demo/reset.css
CHANGED
@@ -7,62 +7,5 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
* {
|
10
|
-
|
11
|
-
font-size: inherit;
|
12
|
-
background-color: initial;
|
13
|
-
font-family: inherit;
|
14
|
-
font-style: inherit;
|
15
|
-
font-variant: inherit;
|
16
|
-
font-weight: inherit;
|
17
|
-
text-shadow: inherit;
|
18
|
-
icon-shadow: inherit;
|
19
|
-
box-shadow: initial;
|
20
|
-
margin-top: initial;
|
21
|
-
margin-left: initial;
|
22
|
-
margin-bottom: initial;
|
23
|
-
margin-right: initial;
|
24
|
-
padding-top: initial;
|
25
|
-
padding-left: initial;
|
26
|
-
padding-bottom: initial;
|
27
|
-
padding-right: initial;
|
28
|
-
border-top-style: initial;
|
29
|
-
border-top-width: initial;
|
30
|
-
border-left-style: initial;
|
31
|
-
border-left-width: initial;
|
32
|
-
border-bottom-style: initial;
|
33
|
-
border-bottom-width: initial;
|
34
|
-
border-right-style: initial;
|
35
|
-
border-right-width: initial;
|
36
|
-
border-top-left-radius: initial;
|
37
|
-
border-top-right-radius: initial;
|
38
|
-
border-bottom-right-radius: initial;
|
39
|
-
border-bottom-left-radius: initial;
|
40
|
-
outline-style: initial;
|
41
|
-
outline-width: initial;
|
42
|
-
outline-offset: initial;
|
43
|
-
background-clip: initial;
|
44
|
-
background-origin: initial;
|
45
|
-
background-size: initial;
|
46
|
-
background-position: initial;
|
47
|
-
border-top-color: initial;
|
48
|
-
border-right-color: initial;
|
49
|
-
border-bottom-color: initial;
|
50
|
-
border-left-color: initial;
|
51
|
-
outline-color: initial;
|
52
|
-
background-repeat: initial;
|
53
|
-
background-image: initial;
|
54
|
-
border-image-source: initial;
|
55
|
-
border-image-repeat: initial;
|
56
|
-
border-image-slice: initial;
|
57
|
-
border-image-width: initial;
|
58
|
-
transition-property: initial;
|
59
|
-
transition-duration: initial;
|
60
|
-
transition-timing-function: initial;
|
61
|
-
transition-delay: initial;
|
62
|
-
engine: initial;
|
63
|
-
gtk-key-bindings: initial;
|
64
|
-
|
65
|
-
-GtkWidget-focus-line-width: 0;
|
66
|
-
-GtkWidget-focus-padding: 0;
|
67
|
-
-GtkNotebook-initial-gap: 0;
|
10
|
+
all: unset;
|
68
11
|
}
|
@@ -1,72 +1,136 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2016 Ruby-GNOME2 Project Team
|
2
2
|
# This program is licenced under the same licence as Ruby-GNOME2.
|
3
3
|
#
|
4
|
-
# $Id: rotated_text.rb,v 1.2 2005/03/05 15:01:16 mutoh Exp $
|
5
4
|
=begin
|
6
|
-
=
|
5
|
+
= Pango/Rotated Text
|
7
6
|
|
8
|
-
This demo shows how to use
|
7
|
+
This demo shows how to use PangoCairo to draw rotated and transformed
|
8
|
+
text. The right pane shows a rotated GtkLabel widget.
|
9
|
+
|
10
|
+
In both cases, a custom PangoCairo shape renderer is installed to draw
|
11
|
+
a red heard using cairo drawing operations instead of the Unicode heart
|
12
|
+
character.
|
9
13
|
=end
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
FONT = "Sans Bold 27"
|
17
|
-
|
18
|
-
def initialize
|
19
|
-
super("Rotated Text")
|
20
|
-
|
21
|
-
drawing_area = Gtk::DrawingArea.new
|
22
|
-
add(drawing_area)
|
23
|
-
drawing_area.override_background_color(:normal, Gdk::RGBA.new(1.0,
|
24
|
-
1.0,
|
25
|
-
1.0,
|
26
|
-
0.0))
|
27
|
-
|
28
|
-
drawing_area.signal_connect("draw") do |_drawing_area, cairo_context|
|
29
|
-
cairo_context.set_source_rgb(1.0, 1.0, 1.0)
|
30
|
-
cairo_context.paint
|
31
|
-
cairo_context.save do
|
32
|
-
width, height = size
|
33
|
-
cairo_context.scale(width.to_f / (RADIUS * 2),
|
34
|
-
height.to_f / (RADIUS * 2))
|
35
|
-
draw_text(cairo_context)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
14
|
+
module RotatedTextDemo
|
15
|
+
HEART = "♥"
|
16
|
+
RADIUS = 150
|
17
|
+
N_WORDS = 5
|
18
|
+
FONT = "Serif 18"
|
19
|
+
TEXT = "I ♥ GTK+"
|
39
20
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
21
|
+
def self.run_demo(main_window)
|
22
|
+
window = Gtk::Window.new(:toplevel)
|
23
|
+
window.screen = main_window.screen
|
24
|
+
window.title = "Rotated Text"
|
25
|
+
window.set_default_size(4 * RADIUS, 2 * RADIUS)
|
44
26
|
|
45
|
-
|
46
|
-
|
27
|
+
box = Gtk::Box.new(:horizontal, 0)
|
28
|
+
box.homogeneous = true
|
29
|
+
window.add(box)
|
47
30
|
|
48
|
-
|
49
|
-
|
31
|
+
# Add adrawing area
|
32
|
+
drawing_area = Gtk::DrawingArea.new
|
33
|
+
box.add(drawing_area)
|
34
|
+
drawing_area.style_context.add_class("view")
|
50
35
|
|
51
|
-
|
52
|
-
|
53
|
-
|
36
|
+
drawing_area.signal_connect "draw" do |widget, cr|
|
37
|
+
# Create a cairo context and set up a transformation matrix so that the
|
38
|
+
# user space coordinates for the centered square where we draw are
|
39
|
+
# [-RADIUS, RADIUS], [-RADIUS, RADIUS].
|
40
|
+
# We first center, then change the scale.
|
41
|
+
width = widget.allocated_width
|
42
|
+
height = widget.allocated_width
|
43
|
+
device_radius = [width, height].min / 2
|
44
|
+
cr.translate(device_radius + (width - 2 * device_radius) / 2,
|
45
|
+
device_radius + (height - 2 * device_radius) / 2)
|
46
|
+
cr.scale(device_radius / RADIUS, device_radius / RADIUS)
|
47
|
+
|
48
|
+
# Create a subtle gradient source and use it
|
49
|
+
pattern = Cairo::LinearPattern.new(-RADIUS, -RADIUS, RADIUS, RADIUS)
|
50
|
+
pattern.add_color_stop_rgb(0, 0.5, 0, 0)
|
51
|
+
pattern.add_color_stop_rgb(1, 0, 0, 0.5)
|
52
|
+
cr.set_source(pattern)
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
54
|
+
# Create a PangoContext and set up our shape renderer
|
55
|
+
context = widget.create_pango_context
|
56
|
+
context.set_shape_renderer do |cairo, attr, do_path|
|
57
|
+
fancy_shape_renderer(cairo, attr, do_path)
|
58
|
+
end
|
59
59
|
|
60
|
-
|
60
|
+
# Create a PangoLayout, set the text, font and attributes
|
61
|
+
layout = Pango::Layout.new(context)
|
62
|
+
layout.text = TEXT
|
63
|
+
desc = Pango::FontDescription.new(FONT)
|
64
|
+
layout.font_description = desc
|
61
65
|
|
62
|
-
|
63
|
-
|
66
|
+
attrs = create_fancy_attr_list_for_layout(layout)
|
67
|
+
layout.attributes = attrs
|
64
68
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
+
# Draw the layout N_WORDS times in a circle
|
70
|
+
N_WORDS.times do
|
71
|
+
# inform Pango to re-layout the text with the new transformation matrix
|
72
|
+
cr.update_pango_layout(layout)
|
73
|
+
w, = layout.pixel_size
|
74
|
+
cr.move_to(- w / 2, - RADIUS * 0.9)
|
75
|
+
cr.show_pango_layout(layout)
|
76
|
+
cr.rotate(Math::PI * 2 / N_WORDS)
|
69
77
|
end
|
78
|
+
|
79
|
+
false
|
80
|
+
end
|
81
|
+
|
82
|
+
# And a label
|
83
|
+
label = Gtk::Label.new(TEXT)
|
84
|
+
box.add(label)
|
85
|
+
label.angle = 45
|
86
|
+
|
87
|
+
# Set up fancy stuff on the label
|
88
|
+
layout = label.layout
|
89
|
+
layout.context.set_shape_renderer do |cr, attr, do_path|
|
90
|
+
fancy_shape_renderer(cr, attr, do_path)
|
70
91
|
end
|
92
|
+
|
93
|
+
layout.attributes = create_fancy_attr_list_for_layout(layout)
|
94
|
+
|
95
|
+
if !window.visible?
|
96
|
+
window.show_all
|
97
|
+
else
|
98
|
+
window.destroy
|
99
|
+
end
|
100
|
+
window
|
101
|
+
end
|
102
|
+
|
103
|
+
def self.fancy_shape_renderer(cr, attr, do_path)
|
104
|
+
x, y = cr.current_point
|
105
|
+
cr.translate(x, y)
|
106
|
+
cr.scale(attr.ink_rect.width / Pango::SCALE,
|
107
|
+
attr.ink_rect.height / Pango::SCALE)
|
108
|
+
|
109
|
+
if attr.data == HEART
|
110
|
+
cr.move_to(0.5, 0)
|
111
|
+
cr.line_to(0.9, -0.4)
|
112
|
+
cr.curve_to(1.1, -0.8, 0.5, -0.9, 0.5, -0.5)
|
113
|
+
cr.curve_to(0.5, -0.9, -0.1, -0.8, 0.1, -0.4)
|
114
|
+
cr.close_path
|
115
|
+
end
|
116
|
+
|
117
|
+
unless do_path
|
118
|
+
cr.set_source_rgb(1, 0, 0)
|
119
|
+
cr.fill
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
def self.create_fancy_attr_list_for_layout(layout)
|
124
|
+
metrics = layout.context.get_metrics(layout.font_description)
|
125
|
+
ascent = metrics.ascent
|
126
|
+
logical_rect = Pango::Rectangle.new(0, -ascent, ascent, ascent)
|
127
|
+
ink_rect = logical_rect.dup
|
128
|
+
|
129
|
+
attrs = Pango::AttrList.new
|
130
|
+
attr = Pango::AttrShape.new(ink_rect, logical_rect, HEART)
|
131
|
+
attr.start_index = TEXT[0, TEXT.index(HEART)].bytesize
|
132
|
+
attr.end_index = attr.start_index + HEART.bytesize
|
133
|
+
attrs.insert(attr)
|
134
|
+
attrs
|
71
135
|
end
|
72
136
|
end
|
@@ -0,0 +1,167 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<interface>
|
3
|
+
<!-- interface-requires gtk+ 3.17 -->
|
4
|
+
|
5
|
+
<object class="GtkShortcutsWindow" id="shortcuts-boxes">
|
6
|
+
<property name="modal">1</property>
|
7
|
+
|
8
|
+
<child>
|
9
|
+
<object class="GtkShortcutsSection">
|
10
|
+
<property name="visible">1</property>
|
11
|
+
<property name="section-name">shortcuts</property>
|
12
|
+
<property name="max-height">12</property>
|
13
|
+
|
14
|
+
<!-- Overview shortcuts -->
|
15
|
+
<child>
|
16
|
+
<object class="GtkShortcutsGroup">
|
17
|
+
<property name="visible">1</property>
|
18
|
+
<property name="title" translatable="yes">Overview</property>
|
19
|
+
<property name="view">overview</property>
|
20
|
+
|
21
|
+
<child>
|
22
|
+
<object class="GtkShortcutsShortcut">
|
23
|
+
<property name="visible">1</property>
|
24
|
+
<property name="accelerator">F1</property>
|
25
|
+
<property name="title" translatable="yes">Help</property>
|
26
|
+
</object>
|
27
|
+
</child>
|
28
|
+
|
29
|
+
<child>
|
30
|
+
<object class="GtkShortcutsShortcut">
|
31
|
+
<property name="visible">1</property>
|
32
|
+
<property name="accelerator"><Ctrl>n</property>
|
33
|
+
<property name="title" translatable="yes">Create a new box</property>
|
34
|
+
</object>
|
35
|
+
</child>
|
36
|
+
|
37
|
+
<child>
|
38
|
+
<object class="GtkShortcutsShortcut">
|
39
|
+
<property name="visible">1</property>
|
40
|
+
<property name="accelerator"><Ctrl>f</property>
|
41
|
+
<property name="title" translatable="yes">Search</property>
|
42
|
+
</object>
|
43
|
+
</child>
|
44
|
+
|
45
|
+
<child>
|
46
|
+
<object class="GtkShortcutsShortcut">
|
47
|
+
<property name="visible">1</property>
|
48
|
+
<property name="accelerator"><Ctrl>k</property>
|
49
|
+
<property name="title" translatable="yes">Keyboard shortcuts</property>
|
50
|
+
</object>
|
51
|
+
</child>
|
52
|
+
|
53
|
+
<child>
|
54
|
+
<object class="GtkShortcutsShortcut">
|
55
|
+
<property name="visible">1</property>
|
56
|
+
<property name="accelerator"><Ctrl>q</property>
|
57
|
+
<property name="title" translatable="yes">Close Window/Quit Boxes</property>
|
58
|
+
</object>
|
59
|
+
</child>
|
60
|
+
</object>
|
61
|
+
</child>
|
62
|
+
|
63
|
+
<!-- Wizard and Properties shortcuts -->
|
64
|
+
<child>
|
65
|
+
<object class="GtkShortcutsGroup">
|
66
|
+
<property name="visible">1</property>
|
67
|
+
<property name="title" translatable="yes">Box Creation and Properties</property>
|
68
|
+
<property name="view">wizard</property>
|
69
|
+
|
70
|
+
<!-- LTR -->
|
71
|
+
<child>
|
72
|
+
<object class="GtkShortcutsShortcut">
|
73
|
+
<property name="visible">1</property>
|
74
|
+
<property name="direction">ltr</property>
|
75
|
+
<property name="accelerator"><Alt>Right</property>
|
76
|
+
<property name="title" translatable="yes">Switch to the next page</property>
|
77
|
+
</object>
|
78
|
+
</child>
|
79
|
+
|
80
|
+
<child>
|
81
|
+
<object class="GtkShortcutsShortcut">
|
82
|
+
<property name="visible">1</property>
|
83
|
+
<property name="direction">ltr</property>
|
84
|
+
<property name="accelerator"><Alt>Left</property>
|
85
|
+
<property name="title" translatable="yes">Switch to the previous page</property>
|
86
|
+
</object>
|
87
|
+
</child>
|
88
|
+
|
89
|
+
<!-- RTL -->
|
90
|
+
<child>
|
91
|
+
<object class="GtkShortcutsShortcut">
|
92
|
+
<property name="visible">1</property>
|
93
|
+
<property name="direction">rtl</property>
|
94
|
+
<property name="accelerator"><Alt>Left</property>
|
95
|
+
<property name="title" translatable="yes">Switch to the next page</property>
|
96
|
+
</object>
|
97
|
+
</child>
|
98
|
+
|
99
|
+
<child>
|
100
|
+
<object class="GtkShortcutsShortcut">
|
101
|
+
<property name="visible">1</property>
|
102
|
+
<property name="direction">rtl</property>
|
103
|
+
<property name="accelerator"><Alt>Right</property>
|
104
|
+
<property name="title" translatable="yes">Switch to the previous page</property>
|
105
|
+
</object>
|
106
|
+
</child>
|
107
|
+
</object>
|
108
|
+
</child>
|
109
|
+
|
110
|
+
<!-- Display shortcuts -->
|
111
|
+
<child>
|
112
|
+
<object class="GtkShortcutsGroup">
|
113
|
+
<property name="visible">1</property>
|
114
|
+
<property name="title" translatable="yes">Box Display</property>
|
115
|
+
<property name="view">display</property>
|
116
|
+
|
117
|
+
<child>
|
118
|
+
<object class="GtkShortcutsShortcut">
|
119
|
+
<property name="visible">1</property>
|
120
|
+
<property name="accelerator">Control_L+Alt_L</property>
|
121
|
+
<property name="title" translatable="yes">Grab/Ungrab keyboard</property>
|
122
|
+
</object>
|
123
|
+
</child>
|
124
|
+
|
125
|
+
<!-- LTR -->
|
126
|
+
<child>
|
127
|
+
<object class="GtkShortcutsShortcut">
|
128
|
+
<property name="visible">1</property>
|
129
|
+
<property name="direction">ltr</property>
|
130
|
+
<property name="accelerator"><Alt>Left</property>
|
131
|
+
<property name="title" translatable="yes">Back to overview</property>
|
132
|
+
</object>
|
133
|
+
</child>
|
134
|
+
|
135
|
+
<!-- RTL -->
|
136
|
+
<child>
|
137
|
+
<object class="GtkShortcutsShortcut">
|
138
|
+
<property name="visible">1</property>
|
139
|
+
<property name="direction">rtl</property>
|
140
|
+
<property name="accelerator"><Alt>Right</property>
|
141
|
+
<property name="title" translatable="yes">Back to overview</property>
|
142
|
+
</object>
|
143
|
+
</child>
|
144
|
+
|
145
|
+
<child>
|
146
|
+
<object class="GtkShortcutsShortcut">
|
147
|
+
<property name="visible">1</property>
|
148
|
+
<property name="accelerator"><Ctrl>q</property>
|
149
|
+
<property name="title" translatable="yes">Close window/Quit Boxes</property>
|
150
|
+
</object>
|
151
|
+
</child>
|
152
|
+
|
153
|
+
<child>
|
154
|
+
<object class="GtkShortcutsShortcut">
|
155
|
+
<property name="visible">1</property>
|
156
|
+
<property name="accelerator">F11</property>
|
157
|
+
<property name="title" translatable="yes">Fullscreen/Restore from fullscreen</property>
|
158
|
+
</object>
|
159
|
+
</child>
|
160
|
+
</object>
|
161
|
+
</child>
|
162
|
+
|
163
|
+
</object>
|
164
|
+
</child>
|
165
|
+
</object>
|
166
|
+
|
167
|
+
</interface>
|
@@ -0,0 +1,547 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<interface>
|
3
|
+
<!-- interface-requires gtk+ 3.17 -->
|
4
|
+
|
5
|
+
<object class="GtkShortcutsWindow" id="shortcuts-builder">
|
6
|
+
<property name="modal">1</property>
|
7
|
+
<child>
|
8
|
+
<object class="GtkShortcutsSection">
|
9
|
+
<property name="visible">1</property>
|
10
|
+
<property name="section-name">editor</property>
|
11
|
+
<property name="title" translatable="yes">Editor Shortcuts</property>
|
12
|
+
<child>
|
13
|
+
<object class="GtkShortcutsGroup">
|
14
|
+
<property name="visible">1</property>
|
15
|
+
<property name="title" translatable="yes">General</property>
|
16
|
+
<child>
|
17
|
+
<object class="GtkShortcutsShortcut">
|
18
|
+
<property name="visible">1</property>
|
19
|
+
<property name="title" translatable="yes">Global Search</property>
|
20
|
+
<property name="accelerator"><ctrl>period</property>
|
21
|
+
</object>
|
22
|
+
</child>
|
23
|
+
<child>
|
24
|
+
<object class="GtkShortcutsShortcut">
|
25
|
+
<property name="visible">1</property>
|
26
|
+
<property name="title" translatable="yes">Preferences</property>
|
27
|
+
<property name="accelerator"><ctrl>comma</property>
|
28
|
+
</object>
|
29
|
+
</child>
|
30
|
+
<child>
|
31
|
+
<object class="GtkShortcutsShortcut">
|
32
|
+
<property name="visible">1</property>
|
33
|
+
<property name="title" translatable="yes">Command Bar</property>
|
34
|
+
<property name="accelerator"><ctrl>Return</property>
|
35
|
+
</object>
|
36
|
+
</child>
|
37
|
+
<child>
|
38
|
+
<object class="GtkShortcutsShortcut">
|
39
|
+
<property name="visible">1</property>
|
40
|
+
<property name="title" translatable="yes">Terminal</property>
|
41
|
+
<property name="accelerator"><ctrl><shift>t</property>
|
42
|
+
</object>
|
43
|
+
</child>
|
44
|
+
<child>
|
45
|
+
<object class="GtkShortcutsShortcut">
|
46
|
+
<property name="visible">1</property>
|
47
|
+
<property name="title" translatable="yes">Keyboard Shortcuts</property>
|
48
|
+
<property name="accelerator"><ctrl><shift>question</property>
|
49
|
+
</object>
|
50
|
+
</child>
|
51
|
+
</object>
|
52
|
+
</child>
|
53
|
+
<child>
|
54
|
+
<object class="GtkShortcutsGroup">
|
55
|
+
<property name="visible">1</property>
|
56
|
+
<property name="title" translatable="yes">Panels</property>
|
57
|
+
<child>
|
58
|
+
<object class="GtkShortcutsShortcut">
|
59
|
+
<property name="visible">1</property>
|
60
|
+
<property name="title" translatable="yes">Toggle left panel</property>
|
61
|
+
<property name="accelerator">F9</property>
|
62
|
+
</object>
|
63
|
+
</child>
|
64
|
+
<child>
|
65
|
+
<object class="GtkShortcutsShortcut">
|
66
|
+
<property name="visible">1</property>
|
67
|
+
<property name="title" translatable="yes">Toggle right panel</property>
|
68
|
+
<property name="accelerator"><shift>F9</property>
|
69
|
+
</object>
|
70
|
+
</child>
|
71
|
+
<child>
|
72
|
+
<object class="GtkShortcutsShortcut">
|
73
|
+
<property name="visible">1</property>
|
74
|
+
<property name="title" translatable="yes">Toggle bottom panel</property>
|
75
|
+
<property name="accelerator"><ctrl>F9</property>
|
76
|
+
</object>
|
77
|
+
</child>
|
78
|
+
</object>
|
79
|
+
</child>
|
80
|
+
<child>
|
81
|
+
<object class="GtkShortcutsGroup">
|
82
|
+
<property name="visible">1</property>
|
83
|
+
<property name="title" translatable="yes">Touchpad gestures</property>
|
84
|
+
<child>
|
85
|
+
<object class="GtkShortcutsShortcut">
|
86
|
+
<property name="visible">1</property>
|
87
|
+
<property name="shortcut-type">gesture-two-finger-swipe-right</property>
|
88
|
+
<property name="title" translatable="yes">Switch to the next document</property>
|
89
|
+
</object>
|
90
|
+
</child>
|
91
|
+
<child>
|
92
|
+
<object class="GtkShortcutsShortcut">
|
93
|
+
<property name="visible">1</property>
|
94
|
+
<property name="shortcut-type">gesture-two-finger-swipe-left</property>
|
95
|
+
<property name="title" translatable="yes">Switch to the previous document</property>
|
96
|
+
</object>
|
97
|
+
</child>
|
98
|
+
</object>
|
99
|
+
</child>
|
100
|
+
<child>
|
101
|
+
<object class="GtkShortcutsGroup">
|
102
|
+
<property name="visible">1</property>
|
103
|
+
<property name="title" translatable="yes">Files</property>
|
104
|
+
<child>
|
105
|
+
<object class="GtkShortcutsShortcut">
|
106
|
+
<property name="visible">1</property>
|
107
|
+
<property name="accelerator"><ctrl>n</property>
|
108
|
+
<property name="title" translatable="yes">Create new document</property>
|
109
|
+
</object>
|
110
|
+
</child>
|
111
|
+
<child>
|
112
|
+
<object class="GtkShortcutsShortcut">
|
113
|
+
<property name="visible">1</property>
|
114
|
+
<property name="accelerator"><ctrl>o</property>
|
115
|
+
<property name="title" translatable="yes">Open a document</property>
|
116
|
+
</object>
|
117
|
+
</child>
|
118
|
+
<child>
|
119
|
+
<object class="GtkShortcutsShortcut">
|
120
|
+
<property name="visible">1</property>
|
121
|
+
<property name="accelerator"><ctrl>s</property>
|
122
|
+
<property name="title" translatable="yes">Save the document</property>
|
123
|
+
</object>
|
124
|
+
</child>
|
125
|
+
<child>
|
126
|
+
<object class="GtkShortcutsShortcut">
|
127
|
+
<property name="visible">1</property>
|
128
|
+
<property name="accelerator"><ctrl>w</property>
|
129
|
+
<property name="title" translatable="yes">Close the document</property>
|
130
|
+
</object>
|
131
|
+
</child>
|
132
|
+
<child>
|
133
|
+
<object class="GtkShortcutsShortcut">
|
134
|
+
<property name="visible">1</property>
|
135
|
+
<property name="accelerator"><ctrl><alt>Page_Down</property>
|
136
|
+
<property name="title" translatable="yes">Switch to the next document</property>
|
137
|
+
</object>
|
138
|
+
</child>
|
139
|
+
<child>
|
140
|
+
<object class="GtkShortcutsShortcut">
|
141
|
+
<property name="visible">1</property>
|
142
|
+
<property name="accelerator"><ctrl><alt>Page_Up</property>
|
143
|
+
<property name="title" translatable="yes">Switch to the previous document</property>
|
144
|
+
</object>
|
145
|
+
</child>
|
146
|
+
</object>
|
147
|
+
</child>
|
148
|
+
<child>
|
149
|
+
<object class="GtkShortcutsGroup">
|
150
|
+
<property name="visible">1</property>
|
151
|
+
<property name="title" translatable="yes">Find and replace</property>
|
152
|
+
<child>
|
153
|
+
<object class="GtkShortcutsShortcut">
|
154
|
+
<property name="visible">1</property>
|
155
|
+
<property name="accelerator"><ctrl>f</property>
|
156
|
+
<property name="title" translatable="yes">Find</property>
|
157
|
+
</object>
|
158
|
+
</child>
|
159
|
+
<child>
|
160
|
+
<object class="GtkShortcutsShortcut">
|
161
|
+
<property name="visible">1</property>
|
162
|
+
<property name="accelerator"><ctrl>g</property>
|
163
|
+
<property name="title" translatable="yes">Find the next match</property>
|
164
|
+
</object>
|
165
|
+
</child>
|
166
|
+
<child>
|
167
|
+
<object class="GtkShortcutsShortcut">
|
168
|
+
<property name="visible">1</property>
|
169
|
+
<property name="accelerator"><ctrl><shift>g</property>
|
170
|
+
<property name="title" translatable="yes">Find the previous match</property>
|
171
|
+
</object>
|
172
|
+
</child>
|
173
|
+
<child>
|
174
|
+
<object class="GtkShortcutsShortcut">
|
175
|
+
<property name="visible">1</property>
|
176
|
+
<property name="accelerator"><ctrl><shift>k</property>
|
177
|
+
<property name="title" translatable="yes">Clear highlight</property>
|
178
|
+
</object>
|
179
|
+
</child>
|
180
|
+
</object>
|
181
|
+
</child>
|
182
|
+
<child>
|
183
|
+
<object class="GtkShortcutsGroup">
|
184
|
+
<property name="visible">1</property>
|
185
|
+
<property name="title" translatable="yes">Copy and Paste</property>
|
186
|
+
<child>
|
187
|
+
<object class="GtkShortcutsShortcut">
|
188
|
+
<property name="visible">1</property>
|
189
|
+
<property name="accelerator"><ctrl>c</property>
|
190
|
+
<property name="title" translatable="yes">Copy selected text to clipboard</property>
|
191
|
+
</object>
|
192
|
+
</child>
|
193
|
+
<child>
|
194
|
+
<object class="GtkShortcutsShortcut">
|
195
|
+
<property name="visible">1</property>
|
196
|
+
<property name="accelerator"><ctrl>x</property>
|
197
|
+
<property name="title" translatable="yes">Cut selected text to clipboard</property>
|
198
|
+
</object>
|
199
|
+
</child>
|
200
|
+
<child>
|
201
|
+
<object class="GtkShortcutsShortcut">
|
202
|
+
<property name="visible">1</property>
|
203
|
+
<property name="accelerator"><ctrl>v</property>
|
204
|
+
<property name="title" translatable="yes">Paste text from clipboard</property>
|
205
|
+
</object>
|
206
|
+
</child>
|
207
|
+
</object>
|
208
|
+
</child>
|
209
|
+
<child>
|
210
|
+
<object class="GtkShortcutsGroup">
|
211
|
+
<property name="visible">1</property>
|
212
|
+
<property name="title" translatable="yes">Undo and Redo</property>
|
213
|
+
<child>
|
214
|
+
<object class="GtkShortcutsShortcut">
|
215
|
+
<property name="visible">1</property>
|
216
|
+
<property name="accelerator"><ctrl>z</property>
|
217
|
+
<property name="title" translatable="yes">Undo previous command</property>
|
218
|
+
</object>
|
219
|
+
</child>
|
220
|
+
<child>
|
221
|
+
<object class="GtkShortcutsShortcut">
|
222
|
+
<property name="visible">1</property>
|
223
|
+
<property name="accelerator"><ctrl><shift>z</property>
|
224
|
+
<property name="title" translatable="yes">Redo previous command</property>
|
225
|
+
</object>
|
226
|
+
</child>
|
227
|
+
</object>
|
228
|
+
</child>
|
229
|
+
<child>
|
230
|
+
<object class="GtkShortcutsGroup">
|
231
|
+
<property name="visible">1</property>
|
232
|
+
<property name="title" translatable="yes">Editing</property>
|
233
|
+
<child>
|
234
|
+
<object class="GtkShortcutsShortcut">
|
235
|
+
<property name="visible">1</property>
|
236
|
+
<property name="accelerator"><ctrl><shift>a</property>
|
237
|
+
<property name="title" translatable="yes">Increment number at cursor</property>
|
238
|
+
</object>
|
239
|
+
</child>
|
240
|
+
<child>
|
241
|
+
<object class="GtkShortcutsShortcut">
|
242
|
+
<property name="visible">1</property>
|
243
|
+
<property name="accelerator"><ctrl><shift>x</property>
|
244
|
+
<property name="title" translatable="yes">Decrement number at cursor</property>
|
245
|
+
</object>
|
246
|
+
</child>
|
247
|
+
<child>
|
248
|
+
<object class="GtkShortcutsShortcut">
|
249
|
+
<property name="visible">1</property>
|
250
|
+
<property name="accelerator"><ctrl>j</property>
|
251
|
+
<property name="title" translatable="yes">Join selected lines</property>
|
252
|
+
</object>
|
253
|
+
</child>
|
254
|
+
<child>
|
255
|
+
<object class="GtkShortcutsShortcut">
|
256
|
+
<property name="visible">1</property>
|
257
|
+
<property name="accelerator"><ctrl>space</property>
|
258
|
+
<property name="title" translatable="yes">Show completion window</property>
|
259
|
+
</object>
|
260
|
+
</child>
|
261
|
+
<child>
|
262
|
+
<object class="GtkShortcutsShortcut">
|
263
|
+
<property name="visible">1</property>
|
264
|
+
<property name="accelerator">Insert</property>
|
265
|
+
<property name="title" translatable="yes">Toggle overwrite</property>
|
266
|
+
</object>
|
267
|
+
</child>
|
268
|
+
<child>
|
269
|
+
<object class="GtkShortcutsShortcut">
|
270
|
+
<property name="visible">1</property>
|
271
|
+
<property name="accelerator"><ctrl><alt>i</property>
|
272
|
+
<property name="title" translatable="yes">Reindent line</property>
|
273
|
+
</object>
|
274
|
+
</child>
|
275
|
+
</object>
|
276
|
+
</child>
|
277
|
+
<child>
|
278
|
+
<object class="GtkShortcutsGroup">
|
279
|
+
<property name="visible">1</property>
|
280
|
+
<property name="title" translatable="yes">Navigation</property>
|
281
|
+
<child>
|
282
|
+
<object class="GtkShortcutsShortcut">
|
283
|
+
<property name="visible">1</property>
|
284
|
+
<property name="accelerator"><alt>n</property>
|
285
|
+
<property name="title" translatable="yes">Move to next error in file</property>
|
286
|
+
</object>
|
287
|
+
</child>
|
288
|
+
<child>
|
289
|
+
<object class="GtkShortcutsShortcut">
|
290
|
+
<property name="visible">1</property>
|
291
|
+
<property name="accelerator"><alt>p</property>
|
292
|
+
<property name="title" translatable="yes">Move to previous error in file</property>
|
293
|
+
</object>
|
294
|
+
</child>
|
295
|
+
<child>
|
296
|
+
<object class="GtkShortcutsShortcut">
|
297
|
+
<property name="visible">1</property>
|
298
|
+
<property name="accelerator"><shift><alt>Left</property>
|
299
|
+
<property name="title" translatable="yes">Move to previous edit location</property>
|
300
|
+
</object>
|
301
|
+
</child>
|
302
|
+
<child>
|
303
|
+
<object class="GtkShortcutsShortcut">
|
304
|
+
<property name="visible">1</property>
|
305
|
+
<property name="accelerator"><shift><alt>Right</property>
|
306
|
+
<property name="title" translatable="yes">Move to next edit location</property>
|
307
|
+
</object>
|
308
|
+
</child>
|
309
|
+
<child>
|
310
|
+
<object class="GtkShortcutsShortcut">
|
311
|
+
<property name="visible">1</property>
|
312
|
+
<property name="accelerator"><alt>period</property>
|
313
|
+
<property name="title" translatable="yes">Jump to definition of symbol</property>
|
314
|
+
</object>
|
315
|
+
</child>
|
316
|
+
<child>
|
317
|
+
<object class="GtkShortcutsShortcut">
|
318
|
+
<property name="visible">1</property>
|
319
|
+
<property name="accelerator"><alt><shift>Up</property>
|
320
|
+
<property name="title" translatable="yes">Move sectionport up within the file</property>
|
321
|
+
</object>
|
322
|
+
</child>
|
323
|
+
<child>
|
324
|
+
<object class="GtkShortcutsShortcut">
|
325
|
+
<property name="visible">1</property>
|
326
|
+
<property name="accelerator"><alt><shift>Down</property>
|
327
|
+
<property name="title" translatable="yes">Move sectionport down within the file</property>
|
328
|
+
</object>
|
329
|
+
</child>
|
330
|
+
<child>
|
331
|
+
<object class="GtkShortcutsShortcut">
|
332
|
+
<property name="visible">1</property>
|
333
|
+
<property name="accelerator"><alt><shift>End</property>
|
334
|
+
<property name="title" translatable="yes">Move sectionport to end of file</property>
|
335
|
+
</object>
|
336
|
+
</child>
|
337
|
+
<child>
|
338
|
+
<object class="GtkShortcutsShortcut">
|
339
|
+
<property name="visible">1</property>
|
340
|
+
<property name="accelerator"><alt><shift>Home</property>
|
341
|
+
<property name="title" translatable="yes">Move sectionport to beginning of file</property>
|
342
|
+
</object>
|
343
|
+
</child>
|
344
|
+
<child>
|
345
|
+
<object class="GtkShortcutsShortcut">
|
346
|
+
<property name="visible">1</property>
|
347
|
+
<property name="accelerator"><ctrl>percent</property>
|
348
|
+
<property name="title" translatable="yes">Move to matching bracket</property>
|
349
|
+
</object>
|
350
|
+
</child>
|
351
|
+
</object>
|
352
|
+
</child>
|
353
|
+
<child>
|
354
|
+
<object class="GtkShortcutsGroup">
|
355
|
+
<property name="visible">1</property>
|
356
|
+
<property name="title" translatable="yes">Selections</property>
|
357
|
+
<child>
|
358
|
+
<object class="GtkShortcutsShortcut">
|
359
|
+
<property name="visible">1</property>
|
360
|
+
<property name="accelerator"><ctrl>a</property>
|
361
|
+
<property name="title" translatable="yes">Select all</property>
|
362
|
+
</object>
|
363
|
+
</child>
|
364
|
+
<child>
|
365
|
+
<object class="GtkShortcutsShortcut">
|
366
|
+
<property name="visible">1</property>
|
367
|
+
<property name="accelerator"><ctrl>backslash</property>
|
368
|
+
<property name="title" translatable="yes">Unselect all</property>
|
369
|
+
</object>
|
370
|
+
</child>
|
371
|
+
</object>
|
372
|
+
</child>
|
373
|
+
</object>
|
374
|
+
</child>
|
375
|
+
<child>
|
376
|
+
<object class="GtkShortcutsSection">
|
377
|
+
<property name="visible">1</property>
|
378
|
+
<property name="section-name">terminal</property>
|
379
|
+
<property name="title" translatable="yes">Terminal Shortcuts</property>
|
380
|
+
<child>
|
381
|
+
<object class="GtkShortcutsGroup">
|
382
|
+
<property name="visible">1</property>
|
383
|
+
<property name="title" translatable="yes">General</property>
|
384
|
+
<child>
|
385
|
+
<object class="GtkShortcutsShortcut">
|
386
|
+
<property name="visible">1</property>
|
387
|
+
<property name="title" translatable="yes">Global Search</property>
|
388
|
+
<property name="accelerator"><ctrl>period</property>
|
389
|
+
</object>
|
390
|
+
</child>
|
391
|
+
<child>
|
392
|
+
<object class="GtkShortcutsShortcut">
|
393
|
+
<property name="visible">1</property>
|
394
|
+
<property name="title" translatable="yes">Preferences</property>
|
395
|
+
<property name="accelerator"><ctrl>comma</property>
|
396
|
+
</object>
|
397
|
+
</child>
|
398
|
+
<child>
|
399
|
+
<object class="GtkShortcutsShortcut">
|
400
|
+
<property name="visible">1</property>
|
401
|
+
<property name="title" translatable="yes">Command Bar</property>
|
402
|
+
<property name="accelerator"><ctrl>Return</property>
|
403
|
+
</object>
|
404
|
+
</child>
|
405
|
+
<child>
|
406
|
+
<object class="GtkShortcutsShortcut">
|
407
|
+
<property name="visible">1</property>
|
408
|
+
<property name="title" translatable="yes">Terminal</property>
|
409
|
+
<property name="accelerator"><ctrl><shift>t</property>
|
410
|
+
</object>
|
411
|
+
</child>
|
412
|
+
<child>
|
413
|
+
<object class="GtkShortcutsShortcut">
|
414
|
+
<property name="visible">1</property>
|
415
|
+
<property name="title" translatable="yes">Keyboard Shortcuts</property>
|
416
|
+
<property name="accelerator"><ctrl><shift>question</property>
|
417
|
+
</object>
|
418
|
+
</child>
|
419
|
+
</object>
|
420
|
+
</child>
|
421
|
+
<child>
|
422
|
+
<object class="GtkShortcutsGroup">
|
423
|
+
<property name="visible">1</property>
|
424
|
+
<property name="title" translatable="yes">Copy and Paste</property>
|
425
|
+
<child>
|
426
|
+
<object class="GtkShortcutsShortcut">
|
427
|
+
<property name="visible">1</property>
|
428
|
+
<property name="accelerator"><ctrl><shift>c</property>
|
429
|
+
<property name="title" translatable="yes">Copy selected text to clipboard</property>
|
430
|
+
</object>
|
431
|
+
</child>
|
432
|
+
<child>
|
433
|
+
<object class="GtkShortcutsShortcut">
|
434
|
+
<property name="visible">1</property>
|
435
|
+
<property name="accelerator"><ctrl><shift>v</property>
|
436
|
+
<property name="title" translatable="yes">Paste text from clipboard</property>
|
437
|
+
</object>
|
438
|
+
</child>
|
439
|
+
</object>
|
440
|
+
</child>
|
441
|
+
<child>
|
442
|
+
<object class="GtkShortcutsGroup">
|
443
|
+
<property name="visible">1</property>
|
444
|
+
<property name="title" translatable="yes">Switching</property>
|
445
|
+
<child>
|
446
|
+
<object class="GtkShortcutsShortcut">
|
447
|
+
<property name="visible">1</property>
|
448
|
+
<property name="accelerator"><alt>1...9</property>
|
449
|
+
<property name="title" translatable="yes">Switch to n-th tab</property>
|
450
|
+
</object>
|
451
|
+
</child>
|
452
|
+
</object>
|
453
|
+
</child>
|
454
|
+
|
455
|
+
<child>
|
456
|
+
<object class="GtkShortcutsGroup">
|
457
|
+
<property name="visible">1</property>
|
458
|
+
<property name="title" translatable="yes">All gestures</property>
|
459
|
+
|
460
|
+
<child>
|
461
|
+
<object class="GtkShortcutsShortcut">
|
462
|
+
<property name="visible">1</property>
|
463
|
+
<property name="shortcut-type">gesture-pinch</property>
|
464
|
+
<property name="title" translatable="yes">A stock pinch gesture</property>
|
465
|
+
</object>
|
466
|
+
</child>
|
467
|
+
<child>
|
468
|
+
<object class="GtkShortcutsShortcut">
|
469
|
+
<property name="visible">1</property>
|
470
|
+
<property name="shortcut-type">gesture-stretch</property>
|
471
|
+
<property name="title" translatable="yes">A stock stretch gesture</property>
|
472
|
+
</object>
|
473
|
+
</child>
|
474
|
+
<child>
|
475
|
+
<object class="GtkShortcutsShortcut">
|
476
|
+
<property name="visible">1</property>
|
477
|
+
<property name="shortcut-type">gesture-rotate-clockwise</property>
|
478
|
+
<property name="title" translatable="yes">A stock rotation gesture</property>
|
479
|
+
</object>
|
480
|
+
</child>
|
481
|
+
<child>
|
482
|
+
<object class="GtkShortcutsShortcut">
|
483
|
+
<property name="visible">1</property>
|
484
|
+
<property name="shortcut-type">gesture-rotate-counterclockwise</property>
|
485
|
+
<property name="title" translatable="yes">A stock rotation gesture</property>
|
486
|
+
</object>
|
487
|
+
</child>
|
488
|
+
<child>
|
489
|
+
<object class="GtkShortcutsShortcut">
|
490
|
+
<property name="visible">1</property>
|
491
|
+
<property name="shortcut-type">gesture-two-finger-swipe-left</property>
|
492
|
+
<property name="title" translatable="yes">A stock swipe gesture</property>
|
493
|
+
</object>
|
494
|
+
</child>
|
495
|
+
<child>
|
496
|
+
<object class="GtkShortcutsShortcut">
|
497
|
+
<property name="visible">1</property>
|
498
|
+
<property name="shortcut-type">gesture-two-finger-swipe-right</property>
|
499
|
+
<property name="title" translatable="yes">A stock swipe gesture</property>
|
500
|
+
</object>
|
501
|
+
</child>
|
502
|
+
|
503
|
+
</object>
|
504
|
+
</child>
|
505
|
+
|
506
|
+
<child>
|
507
|
+
<object class="GtkShortcutsGroup">
|
508
|
+
<property name="visible">1</property>
|
509
|
+
<property name="title" translatable="yes">'Special' combinations</property>
|
510
|
+
|
511
|
+
<child>
|
512
|
+
<object class="GtkShortcutsShortcut">
|
513
|
+
<property name="visible">1</property>
|
514
|
+
<property name="accelerator">t+t</property>
|
515
|
+
<property name="title" translatable="yes">You want tea ?</property>
|
516
|
+
</object>
|
517
|
+
</child>
|
518
|
+
<child>
|
519
|
+
<object class="GtkShortcutsShortcut">
|
520
|
+
<property name="visible">1</property>
|
521
|
+
<property name="accelerator"><shift><ctrl></property>
|
522
|
+
<property name="title" translatable="yes">Shift Control</property>
|
523
|
+
</object>
|
524
|
+
</child>
|
525
|
+
<child>
|
526
|
+
<object class="GtkShortcutsShortcut">
|
527
|
+
<property name="visible">1</property>
|
528
|
+
<property name="accelerator"><ctrl>&<ctrl></property>
|
529
|
+
<property name="title" translatable="yes">Control Control</property>
|
530
|
+
</object>
|
531
|
+
</child>
|
532
|
+
<child>
|
533
|
+
<object class="GtkShortcutsShortcut">
|
534
|
+
<property name="visible">1</property>
|
535
|
+
<property name="accelerator">Control_L&Control_R</property>
|
536
|
+
<property name="title" translatable="yes">Left and right control</property>
|
537
|
+
</object>
|
538
|
+
</child>
|
539
|
+
|
540
|
+
</object>
|
541
|
+
</child>
|
542
|
+
|
543
|
+
</object>
|
544
|
+
</child>
|
545
|
+
</object>
|
546
|
+
|
547
|
+
</interface>
|