-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathbookmarks_window.blp
More file actions
77 lines (65 loc) · 1.75 KB
/
bookmarks_window.blp
File metadata and controls
77 lines (65 loc) · 1.75 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
using Gtk 4.0;
using Adw 1;
template $GeopardBookmarksWindow : Adw.Window {
title: _("Bookmarks");
default-height: 400;
default-width: 500;
height-request: 290;
width-request: 360;
modal: true;
Adw.ToastOverlay toast_overlay {
Adw.ToolbarView {
[top]
Adw.HeaderBar {
centering-policy: strict;
[end]
Gtk.ToggleButton search_button {
visible: false; // TODO: Remove
icon-name: "edit-find-symbolic";
tooltip-text: _("Search");
}
[end]
Gtk.Button select_items_button {
visible: false; // TODO: Remove
icon-name: "selection-mode-symbolic";
tooltip-text: _("Select Items");
}
}
content: Gtk.Stack stack {
transition-type: crossfade;
Gtk.StackPage {
name: "no_bookmarks_page";
child: Adw.StatusPage {
icon-name: "starred-symbolic";
title: _("No Bookmarks");
description: _("Bookmarked sites will appear here");
};
}
Gtk.StackPage {
name: "bookmarks_page";
child: Gtk.ScrolledWindow {
child: Gtk.Box {
orientation: vertical;
margin-top: 6;
margin-bottom: 6;
margin-start: 6;
margin-end: 6;
hexpand: true;
vexpand: true;
Adw.Clamp {
maximum-size: 1024;
child: Gtk.ListBox bookmarks_list {
activate-on-single-click: true;
selection-mode: none;
styles [
"boxed-list"
]
};
}
};
};
}
};
}
}
}