-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtemplate.ui
76 lines (76 loc) · 3.42 KB
/
template.ui
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="AdwPreferencesPage" id="prefs_page">
<child>
<object class="AdwPreferencesGroup" id="extension_menu_group">
<property name="title" translatable="true">Extension Menu</property>
<child>
<object class="AdwEntryRow" id="sysfs_path_entry">
<property name="title" translatable="true">Sysfs path of the ideapad_laptop dir</property>
<child>
<object class="GtkButton" id="sysfs_reset_button">
<property name="valign">3</property>
<property name="icon-name">view-refresh-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="location_row">
<property name="title" translatable="true">Extension menu location</property>
<property name="subtitle" translatable="true">Choose where to place the extension menu.</property>
<child>
<object class="GtkComboBoxText" id="location_combo">
<property name="valign">3</property>
<items>
<item id="tray" translatable="true">Tray</item>
<item id="system_menu" translatable="true">System Menu</item>
</items>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="settings_button_row">
<property name="title" translatable="true">Settings button</property>
<property name="subtitle" translatable="true">Enable to show Extension Settings button.</property>
<child>
<object class="GtkSwitch" id="settings_button_switch">
<property name="valign">3</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="pkexec_button_row">
<property name="title" translatable="true">Use pkexec</property>
<property name="subtitle" translatable="true">Enable to make ideapad_laptop wrap its write commands with pkexec to request root privileges. Disable only if you have a proper permissions setup (see README for more details)</property>
<child>
<object class="GtkSwitch" id="pkexec_button_switch">
<property name="valign">3</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="notifications_button_row">
<property name="title" translatable="true">Send success notifications</property>
<property name="subtitle" translatable="true">Enable to make the extension send notifications when it enables an option successfully</property>
<child>
<object class="GtkSwitch" id="notifications_button_switch">
<property name="valign">3</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="options_group">
<property name="title" translatable="true">Options</property>
<property name="description" translatable="true">Choose which options to keep in the extension menu.</property>
</object>
</child>
</object>
</interface>