[Bugs] #3774 sugar-toolkit-gtk3 LOW: Missing key accelerators at Sugar ToggleToolButton

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 6 12:46:06 EDT 2012


#3774: Missing key accelerators at Sugar ToggleToolButton
-----------------------------------+----------------------------------------
    Reporter:  danielfrancis       |          Owner:  erikos                     
        Type:  defect              |         Status:  new                        
    Priority:  Low                 |      Milestone:  Unspecified by Release Team
   Component:  sugar-toolkit-gtk3  |        Version:  Git as of bugdate          
    Severity:  Minor               |       Keywords:  acceletator, accessibility 
Distribution:  Unspecified         |   Status_field:  Unconfirmed                
-----------------------------------+----------------------------------------

Comment(by humitos):

 This is the chunk of code that I used to test this:

 {{{
 from sugar.graphics.toggletoolbutton import ToggleToolButton
 toggle_button = ToggleToolButton('format-text-bold')
 toggle_button.props.accelerator = '<Ctrl>B'
 toggle_button.set_tooltip('Bold')
 toolbar_box.toolbar.insert(toggle_button, -1)
 toggle_button.show()
 }}}

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


More information about the Bugs mailing list