[gnome-maps] MainWindow: Add simpler zoom accels
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] MainWindow: Add simpler zoom accels
- Date: Wed, 28 Oct 2015 16:42:42 +0000 (UTC)
commit db716bb672777b10f9b6256f109b0e425d07c3b1
Author: Amisha <amishas157 gmail com>
Date: Wed Oct 28 21:15:42 2015 +0530
MainWindow: Add simpler zoom accels
Added zoom accels for plus and minus
https://bugzilla.gnome.org/show_bug.cgi?id=755784
src/mainWindow.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 909aff5..e2d3ae5 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -189,11 +189,11 @@ const MainWindow = new Lang.Class({
onChangeState: this._onToggleSidebarChangeState.bind(this)
},
'zoom-in': {
- accels: ['<Primary>plus'],
+ accels: ['plus', '<Primary>plus', 'KP_Add', '<Primary>KP_Add'],
onActivate: this._mapView.view.zoom_in.bind(this._mapView.view)
},
'zoom-out': {
- accels: ['<Primary>minus'],
+ accels: ['minus', '<Primary>minus', 'KP_Subtract', '<Primary>KP_Subtract'],
onActivate: this._mapView.view.zoom_out.bind(this._mapView.view)
},
'find': {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]