geography - forgot to suppress debug lines

This commit is contained in:
noirauds 2015-02-15 23:42:42 +01:00
parent 66b0d389c7
commit 40686d50ef

View File

@ -176,11 +176,9 @@ class OsmGps():
config.set('geography.use-keypad', config.set('geography.use-keypad',
self._config.get('geography.use-keypad')) self._config.get('geography.use-keypad'))
if config.get('geography.use-keypad'): if config.get('geography.use-keypad'):
print "use keypad", config.get('geography.use-keypad')
self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMIN, Gdk.keyval_from_name("KP_Add")) self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMIN, Gdk.keyval_from_name("KP_Add"))
self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMOUT, Gdk.keyval_from_name("KP_Subtract")) self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMOUT, Gdk.keyval_from_name("KP_Subtract"))
else: else:
print "use keyboard", config.get('geography.use-keypad')
self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMIN, Gdk.keyval_from_name("plus")) self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMIN, Gdk.keyval_from_name("plus"))
self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMOUT, Gdk.keyval_from_name("minus")) self.osm.set_keyboard_shortcut(osmgpsmap.MapKey_t.ZOOMOUT, Gdk.keyval_from_name("minus"))