aboutsummaryrefslogtreecommitdiff
path: root/src/components/header.rs
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-03-27 11:17:28 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-03-27 12:22:36 +0100
commit2bebe9de998ba8475c89c608254c76d63206a214 (patch)
tree53e91f5d8c02650d48f26215d020e534137966f0 /src/components/header.rs
parent1921e8c99d327518a4fd6fdb54928732bf21cd18 (diff)
Add about dialog
Diffstat (limited to 'src/components/header.rs')
-rw-r--r--src/components/header.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/header.rs b/src/components/header.rs
index 6c1055b..7977a5b 100644
--- a/src/components/header.rs
+++ b/src/components/header.rs
@@ -184,6 +184,13 @@ impl Header {
zoom_section.append(Some(&tr!("command.view.zoom_out")), Some("window.zoom-out"));
main_menu.append_section(None, &zoom_section);
+ let help_section = gio::Menu::new();
+ help_section.append(
+ Some(&tr!("command.application.about")),
+ Some("window.about"),
+ );
+ main_menu.append_section(None, &help_section);
+
let prefs_section = gio::Menu::new();
prefs_section.append(
Some(&tr!("command.application.preferences")),