-
Notifications
You must be signed in to change notification settings - Fork 1
/
UdevRulesDialog.blp
48 lines (41 loc) · 953 Bytes
/
UdevRulesDialog.blp
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
using Gtk 4.0;
using Adw 1;
template $NXDumpClientUdevRulesDialog: Adw.Window {
title: _("Udev rules installation");
modal: true;
content: Adw.ToolbarView {
[top]
Adw.HeaderBar {
}
content: Box {
margin-start: 5;
margin-end: 5;
margin-bottom: 5;
orientation: vertical;
spacing: 20;
Label {
styles [ "title-4" ]
halign: center;
justify: center;
label: _("Udev rules must be installed for this program to work.\nPlease exectute the following command to do so:");
}
Label {
halign: center;
justify: center;
selectable: true;
label: bind template.command_line_for_installation;
}
CheckButton checkbox {
halign: center;
label: _("I have installed the rules; do not show me this dialog again");
}
Button {
styles ["suggested-action"]
sensitive: bind checkbox.active;
halign: center;
label: _("Confirm");
clicked => $confirmed();
}
};
};
}