View Single Post
Posts: 21 | Thanked: 13 times | Joined on Aug 2011
#84
I finally figured out the first one in "question/suggestions" listed above (my own post).Here is what I do to use zoom keys to do page scroll up/down, in case someone needs it:
1. find the source /usr/lib/zim/zim/gui/pageview.py
2. go to line 2558 or find function do_key_press_event_readonly(self,event)
3. under line "if event.keyval in KEYVAL_SPACE:" and 3 lines below, add two more conditions, which is:
elif event.keyval==gtk.keysyms.F7:
self.emit('move-cursor', gtk.MOVEMENT_PAGES,1, False)
elif event.keyval==gtk.keysyms.F8:
self.emit('move-cursor', gtk.MOVEMENT_PAGES,-1, False)
 

The Following User Says Thank You to nkmm For This Useful Post: