shortcuts-dialog: Port to AdwShortcutsDialog
Changed help-overlay.ui to add adwaita shortcuts dialog and loaded that xml in window.rs also incremented libadwaita version. Fixes #521
This commit is contained in:
parent
538abfbbdf
commit
a50212f741
9 changed files with 291 additions and 354 deletions
|
|
@ -141,7 +141,7 @@ mod imp {
|
|||
klass.add_binding_action(
|
||||
gdk::Key::question,
|
||||
gdk::ModifierType::CONTROL_MASK,
|
||||
"win.show-help-overlay",
|
||||
"app.shortcuts",
|
||||
);
|
||||
|
||||
// Set up actions
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
||||
<attribute name="action">win.show-help-overlay</attribute>
|
||||
<attribute name="action">app.shortcuts</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_About Image Viewer</attribute>
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ mod imp {
|
|||
klass.add_binding_action(
|
||||
gdk::Key::question,
|
||||
gdk::ModifierType::CONTROL_MASK,
|
||||
"win.show-help-overlay",
|
||||
"app.shortcts",
|
||||
);
|
||||
|
||||
WindowAction::init_actions_and_bindings(klass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue