[Bugs] #789 UNSP: Use toolbar accelerators in Write

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Apr 13 15:24:43 EDT 2012


#789: Use toolbar accelerators in Write
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  godiard    
        Type:  enhancement                |         Status:  assigned   
    Priority:  Unspecified by Maintainer  |      Milestone:  0.90       
   Component:  Write                      |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:  easy-hack  
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
Changes (by godiard):

  * owner:  garycmartin => godiard


Comment:

 It's true :(

 ToolButton in toolbutton.py implement set_accelerator but ToggleToolButton
 inherit fromn gtk.ToggleToolButton and not implement it.

 I don't know if this is by design or not. Can you send a mail to sugar-
 devel asking if should be implemented in gtk.ToggleToolButton or in
 another way?

 Another alternative is use the signal 'key-press-event' in the activity
 and change the button state there. (You can see a example in Read
 activity)

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/789#comment:7>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list