From d1d9caaa5e36e8c9205e85640123874af4dc925b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Wed, 3 Aug 2022 23:33:13 +0200
Subject: Capitalize modifier names, prefer Command on macOS
So far, the macOS special casing is only partial.
Also, GtkShortcutsWindow confusingly labels Command as Meta.
---
fiv.c | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
(limited to 'fiv.c')
diff --git a/fiv.c b/fiv.c
index d694b17..ecf1d9a 100644
--- a/fiv.c
+++ b/fiv.c
@@ -82,23 +82,23 @@ struct key_section {
static struct key help_keys_general[] = {
{"F1", "Show help"},
{"F10", "Open menu"},
- {"question", "Keyboard shortcuts"},
- {"q q", "Quit"},
- {"w", "Quit"},
+ {"question", "Keyboard shortcuts"},
+ {"q q", "Quit"},
+ {"w", "Quit"},
{}
};
static struct key help_keys_navigation[] = {
- {"l", "Open location..."},
- {"n", "Open a new window"},
- {"Left", "Go back in history"},
- {"Right", "Go forward in history"},
+ {"l", "Open location..."},
+ {"n", "Open a new window"},
+ {"Left", "Go back in history"},
+ {"Right", "Go forward in history"},
{}
};
static struct key help_keys_view[] = {
{"F11 f", "Toggle fullscreen"},
- {"d", "Toggle dark theme variant"},
+ {"d", "Toggle dark theme variant"},
{}
};
@@ -107,17 +107,17 @@ static struct key_group help_keys_browser[] = {
{"General: Navigation", help_keys_navigation},
{"General: View", help_keys_view},
{"Navigation", (struct key[]) {
- {"Up", "Go to parent directory"},
- {"Home", "Go home"},
+ {"Up", "Go to parent directory"},
+ {"Home", "Go home"},
{"Return", "Open selected item"},
{}
}},
{"View", (struct key[]) {
{"F9", "Toggle navigation sidebar"},
- {"F5 r r", "Reload"},
- {"h h", "Toggle hiding unsupported files"},
- {"plus", "Larger thumbnails"},
- {"minus", "Smaller thumbnails"},
+ {"F5 r r", "Reload"},
+ {"h h", "Toggle hiding unsupported files"},
+ {"plus", "Larger thumbnails"},
+ {"minus", "Smaller thumbnails"},
{}
}},
{}
@@ -135,14 +135,14 @@ static struct key_group help_keys_viewer[] = {
}},
{"View", (struct key[]) {
{"F8", "Toggle toolbar"},
- {"F5 r r", "Reload"},
+ {"F5 r r", "Reload"},
{}
}},
{"Zoom", (struct key[]) {
- {"0", "Set zoom to 100%"},
+ {"0", "Set zoom to 100%"},
{"1...9", "Set zoom to N:1"},
- {"plus plus", "Zoom in"},
- {"minus minus", "Zoom out"},
+ {"plus plus", "Zoom in"},
+ {"minus minus", "Zoom out"},
{"w", "Zoom to fit width if larger"},
{"h", "Zoom to fit height if larger"},
{}
@@ -175,10 +175,10 @@ static struct key_group help_keys_viewer[] = {
{}
}},
{"Tools", (struct key[]) {
- {"p", "Print..."},
- {"s", "Save page as..."},
- {"s", "Save frame as..."},
- {"Return", "Show file information"},
+ {"p", "Print..."},
+ {"s", "Save page as..."},
+ {"s", "Save frame as..."},
+ {"Return", "Show file information"},
{}
}},
{}
--
cgit v1.2.3