-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathexm-installed-page.blp
More file actions
105 lines (85 loc) · 2.46 KB
/
exm-installed-page.blp
File metadata and controls
105 lines (85 loc) · 2.46 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
using Gtk 4.0;
using Adw 1;
template $ExmInstalledPage: Gtk.Widget {
notify::manager => $on_bind_manager();
Gtk.Stack stack {
transition-type: crossfade;
vexpand: true;
Gtk.StackPage page_list {
name: "page_list";
child: Adw.PreferencesPage {
banner: Adw.Banner updates_banner {
button-label: _("_Log Out…");
button-style: suggested;
action-name: "app.logout";
};
Adw.PreferencesGroup {
Adw.SwitchRow global_toggle {
[prefix]
Gtk.Image {
icon-name: 'puzzle-piece-symbolic';
}
title: _("Use Extensions");
subtitle: _("Extensions can cause performance and stability issues");
}
Adw.SwitchRow auto_check_updates_toggle {
[prefix]
Gtk.Image {
icon-name: 'software-update-available-symbolic';
}
title: _("Auto Check for Updates");
subtitle: _("Check for extension updates on startup");
}
}
Adw.PreferencesGroup user_prefs_group {
notify::visible => $on_visible_stack_changed();
title: _("User-Installed Extensions");
}
Adw.PreferencesGroup system_prefs_group {
notify::visible => $on_visible_stack_changed();
title: _("System Extensions");
}
};
}
Gtk.StackPage {
name: "page_results";
child: Adw.PreferencesPage {
Adw.PreferencesGroup search_prefs_group {}
};
}
Gtk.StackPage {
name: "page_no_results";
child: Adw.StatusPage {
icon-name: "edit-find-symbolic";
title: _("No Results Found");
description: _("Try a different search or search online");
child: Gtk.Button {
styles [
"pill",
]
label: _("_Search Online");
use-underline: true;
halign: center;
action-name: "win.search-online";
};
};
}
Gtk.StackPage {
name: "page_empty";
child: Adw.StatusPage {
icon-name: "puzzle-piece-symbolic";
title: _("No Extensions Installed");
description: _("Search online to install extensions");
child: Gtk.Button {
styles [
"pill",
]
label: _("_Search Online");
use-underline: true;
halign: center;
action-name: "win.search-online";
};
};
}
}
}