#6009 NORM Never A: remapping square and check to zoom in and zoom out

Zarro Boogs per Child bugtracker at laptop.org
Mon Jan 14 16:38:22 EST 2008


#6009: remapping square and check to zoom in and zoom out
---------------------------+------------------------------------------------
 Reporter:  braingram      |       Owner:  rwh           
     Type:  enhancement    |      Status:  new           
 Priority:  normal         |   Milestone:  Never Assigned
Component:  read-activity  |     Version:                
 Keywords:                 |    Verified:  0             
 Blocking:                 |   Blockedby:                
---------------------------+------------------------------------------------
 I think it would be helpful to have zoom control while in ebook mode. You
 could change the _key_press_event_cb in readactivity.py line 408 to be:

 {{{
     def _key_press_event_cb(self, widget, event):
         keyname = gtk.gdk.keyval_name(event.keyval)
         logging.debug("Keyname Press: %s, time: %s", keyname, event.time)
         if keyname == 'KP_End'
 self._view_toolbar._zoom_in_cb(self._view_toolbar._zoom_in)
         if keyname == 'KP_Home'
 self._view_toolbar._zoom_out_cb(self._view_toolbar._zoom_out)
         if keyname == 'c' and event.state & gtk.gdk.CONTROL_MASK:
             self._view.copy()
 }}}

 I think maybe a graphical toggle to set/unset the remapping on the view
 toolbar would make this a nice 'option'.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6009>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list