changeset 176:6e8b23f1ee94

Add new key for editing a project Per default use backspace to edit a project.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 13 Dec 2012 09:32:21 +0100
parents 5e069074b1c9
children c37fb8223762
files getan/config.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/config.py	Thu Dec 13 09:31:35 2012 +0100
+++ b/getan/config.py	Thu Dec 13 09:32:21 2012 +0100
@@ -87,6 +87,7 @@
     KEY_ADD_TIME = "add_time"
     KEY_SUBTRACT_TIME = "subtract_time"
     KEY_PROJECT_PAUSE = "project_pause"
+    KEY_PROJECT_EDIT = "project_edit"
 
     DEFAULT_KEYBINDINGS = {
             KEY_SWITCH_TIME_MODE : "f1",
@@ -104,6 +105,7 @@
             KEY_ADD_TIME : "+",
             KEY_SUBTRACT_TIME : "-",
             KEY_PROJECT_PAUSE : " ",
+            KEY_PROJECT_EDIT : "backspace",
             }
 
 
@@ -166,3 +168,6 @@
 
     def get_project_pause(self):
         return self.get_binding(self.KEY_PROJECT_PAUSE)
+
+    def get_project_edit(self):
+        return self.get_binding(self.KEY_PROJECT_EDIT)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)