Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

feat: add shortcuts for forwards/backwards - #74

Open
ChildishGiant wants to merge 1 commit into
mdh34:masterfrom
ChildishGiant:mouse-shortcuts
Open

ChildishGiant wants to merge 1 commit into
mdh34:masterfrom
ChildishGiant:mouse-shortcuts

Conversation

@ChildishGiant

Copy link
Copy Markdown

#73 I tried to add granite tooltips too but had no luck so didn't bother

Comment thread src/Application.vala
Comment on lines +58 to +66
var forwards_action = new SimpleAction ("forwards", null);
add_action (forwards_action);
set_accels_for_action ("app.forwards", {"<Control>D"});
forwards_action.activate.connect (window.forwards);

var backwards_action = new SimpleAction ("backwards", null);
add_action (backwards_action);
set_accels_for_action ("app.backwards", {"<Control>A"});
backwards_action.activate.connect (window.backwards);

@chances chances Jan 30, 2024 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Browsers commonly use Alt+Left and Alt+Right for backward/forward navigation.

Consider changing this to match.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants