-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathSettingsUrisView.vala
56 lines (46 loc) · 1.55 KB
/
SettingsUrisView.vala
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
/*
* Copyright 2011-2023 elementary, Inc. (https://elementary.io)
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
public class SettingsUrisView : Gtk.Box {
construct {
halign = Gtk.Align.CENTER;
var column = new Gtk.Box (Gtk.Orientation.VERTICAL, 16) {
margin_start = 24,
margin_end = 24,
margin_top = 24,
margin_bottom = 24,
halign = Gtk.Align.CENTER,
valign = Gtk.Align.CENTER
};
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.LOCATION,
_("Security & Privacy → Location Services")
));
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.ONLINE_ACCOUNTS,
_("Online Accounts")
));
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.NETWORK,
_("Network")
));
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.PERMISSIONS,
_("Applications → Permissions")
));
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.NOTIFICATIONS,
_("Notifications")
));
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.SOUND_INPUT,
_("Sound → Input")
));
column.append (new Gtk.LinkButton.with_label (
Granite.SettingsUri.SHORTCUTS,
_("Keyboard → Shortcuts → Custom")
));
append (column);
}
}