[devhelp] App: explain why there is Ctrl+= keyboard shortcut for zoom-in
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] App: explain why there is Ctrl+= keyboard shortcut for zoom-in
- Date: Thu, 21 Dec 2017 11:22:04 +0000 (UTC)
commit bbb8c28aa654a27736c1a9bb56456e685e0a67a6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Dec 21 12:17:46 2017 +0100
App: explain why there is Ctrl+= keyboard shortcut for zoom-in
src/dh-app.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 2553cf4..800902f 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -210,6 +210,12 @@ setup_accelerators (GtkApplication *app)
accels[0] = "<Control>minus";
gtk_application_set_accels_for_action (app, "win.zoom-out", accels);
+ /* For "<Control>equal": Epiphany also has this keyboard shortcut for
+ * zoom-in. On keyboards the = and + are usually on the same key, but +
+ * is less convenient to type because Shift must be pressed too.
+ * Apparently it's usual on Windows to press Ctrl+= to zoom in.
+ * https://bugzilla.gnome.org/show_bug.cgi?id=743704
+ */
accels[0] = "<Control>plus";
accels[1] = "<Control>equal";
gtk_application_set_accels_for_action (app, "win.zoom-in", accels);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]