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
|
/* -*- Mode: Blueprint; indent-tabs-mode: nil; tab-width: 2 -*-
*
* SPDX-License-Identifier: CC-BY-SA-4.0
* SPDX-FileCopyrightText: Michael Terry
*/
using Gtk 4.0;
using Adw 1;
template $PrimaryMenuButton: Adw.Bin {
MenuButton {
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
primary: true;
receives-default: true;
tooltip-text: _("Main Menu");
}
}
menu primary_menu {
section {
item {
label: _("_Select All");
action: "restore.select-all";
hidden-when: "action-missing";
}
}
section {
item {
label: _("_Keyboard Shortcuts");
action: "app.shortcuts";
}
item {
label: _("_Help");
action: "app.help";
}
item {
label: _("_About Déjà Dup Backups");
action: "app.about";
}
}
}
|