Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion io.github.fizzyizzy05.binary.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id" : "io.github.fizzyizzy05.binary",
"runtime" : "org.gnome.Platform",
"runtime-version" : "48",
"runtime-version" : "49",
"sdk" : "org.gnome.Sdk",
"command" : "binary",
"finish-args" : [
Expand Down
2 changes: 1 addition & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
data/io.github.fizzyizzy05.binary.desktop.in
data/io.github.fizzyizzy05.binary.metainfo.xml.in
data/io.github.fizzyizzy05.binary.gschema.xml
src/gtk/help-overlay.blp
src/shortcuts-dialog.blp
src/main.py
src/window.py
src/window.blp
Expand Down
2 changes: 1 addition & 1 deletion src/binary.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<file preprocess="xml-stripblanks">preferences.ui</file>
<file>style.css</file>
<file>style-hc.css</file>
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
<file preprocess="xml-stripblanks">shortcuts-dialog.ui</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/vertical-arrows-symbolic.svg</file>
<file alias="metainfo.xml" preprocess="xml-stripblanks">../data/io.github.fizzyizzy05.binary.metainfo.xml</file>
</gresource>
Expand Down
34 changes: 0 additions & 34 deletions src/gtk/help-overlay.blp

This file was deleted.

2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gnome = import('gnome')

blueprints = custom_target('blueprints',
input: files(
'gtk/help-overlay.blp',
'shortcuts-dialog.blp',
'preferences.blp',
'window.blp',
),
Expand Down
28 changes: 28 additions & 0 deletions src/shortcuts-dialog.blp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using Gtk 4.0;
using Adw 1;

Adw.ShortcutsDialog shortcuts_dialog {
Adw.ShortcutsSection {
title: C_("shortcut window", "General");

Adw.ShortcutsItem {
title: C_("shortcut window", "New Window");
action-name: "app.new-window";
}

Adw.ShortcutsItem {
title: C_("shortcut window", "Close Window");
action-name: "app.close-window";
}

Adw.ShortcutsItem {
title: C_("shortcut window", "Show Shortcuts");
action-name: "app.shortcuts";
}

Adw.ShortcutsItem {
title: C_("shortcut window", "Quit");
action-name: "app.quit";
}
}
}
2 changes: 1 addition & 1 deletion src/window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ menu primary_menu {
section {
item {
label: _("_Keyboard Shortcuts");
action: "win.show-help-overlay";
action: "app.shortcuts";
}

item {
Expand Down