diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-09 12:30:08 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-09 12:31:19 +0100 |
commit | 12e3c42888879275c53e9044749409af62f2cd88 (patch) | |
tree | d9731a9cca3b1f73b061022b28f3c55b7ff57b21 | |
parent | 146c5c6977a816aac50ec91b0b0960eb18f3ff84 (diff) | |
download | fiv-12e3c42888879275c53e9044749409af62f2cd88.tar.gz fiv-12e3c42888879275c53e9044749409af62f2cd88.tar.xz fiv-12e3c42888879275c53e9044749409af62f2cd88.zip |
Move key bindings to a more usual shortcut
gThumb is confused.
-rw-r--r-- | fiv.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -72,7 +72,7 @@ struct key_section { }; static struct key help_keys_general[] = { - {"F1 <control>F1", "Show this list of shortcuts"}, + {"F1 <control>question", "Show this list of shortcuts"}, {"F11 f", "Toggle fullscreen view"}, {"<alt><shift>d", "Toggle dark theme variant"}, {"q <control>q", "Exit the program"}, @@ -776,6 +776,7 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event, } break; case GDK_CONTROL_MASK: + case GDK_CONTROL_MASK | GDK_SHIFT_MASK: switch (event->keyval) { case GDK_KEY_h: gtk_button_clicked(GTK_BUTTON(g.funnel)); @@ -798,7 +799,7 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event, gtk_widget_destroy(g.window); return TRUE; - case GDK_KEY_F1: + case GDK_KEY_question: show_help_shortcuts(); return TRUE; } |