[gnome-books] evinceview: Add more zoom in/out keyboard shortcuts
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-books] evinceview: Add more zoom in/out keyboard shortcuts
- Date: Sat, 3 Aug 2019 16:02:34 +0000 (UTC)
commit 4ff802714364321fb9a02938d238aedccb3b9594
Author: Bastien Nocera <hadess hadess net>
Date: Sat Aug 3 17:56:39 2019 +0200
evinceview: Add more zoom in/out keyboard shortcuts
As used in the epub view.
src/evinceview.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/evinceview.js b/src/evinceview.js
index 8f61123e..0d0ab33a 100644
--- a/src/evinceview.js
+++ b/src/evinceview.js
@@ -138,10 +138,10 @@ var EvinceView = new Lang.Class({
let actions = [
{ name: 'zoom-in',
callback: Lang.bind(this, this._zoomIn),
- accels: ['<Primary>plus', '<Primary>equal'] },
+ accels: ['<Primary>plus', '<Primary>equal', '<Primary>KP_Add'] },
{ name: 'zoom-out',
callback: Lang.bind(this, this._zoomOut),
- accels: ['<Primary>minus'] },
+ accels: ['<Primary>minus', '<Primary>KP_Subtract'] },
{ name: 'copy',
callback: Lang.bind(this, this._copy),
accels: ['<Primary>c'] },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]