#7881 HIGH 8.2.0 (: Accelerator labels don't show up for most toolbar buttons

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 8 18:13:59 EDT 2008


#7881: Accelerator labels don't show up for most toolbar buttons
---------------------+------------------------------------------------------
 Reporter:  Eben     |         Owner:  Eben                
     Type:  defect   |        Status:  new                 
 Priority:  high     |     Milestone:  8.2.0 (was Update.2)
Component:  sugar    |       Version:  not specified       
 Keywords:  8.2.0:+  |   Next_action:  code                
 Verified:  0        |     Blockedby:                      
 Blocking:           |  
---------------------+------------------------------------------------------
 The accelerator labels haven't been showing up even for a variety of
 buttons which had them set.  I discovered the problem when I tried to add
 one to the Stop and Keep buttons in the Activity base class, only to find
 out that they already had them defined.

 Do to an unfortunate mess (chicken and egg problem resulting from the
 tooltip being passed as a keyword argument to GObject._init), the palette
 for the button was created before a tool (the button itself) had been set
 on their invoker, which resulted in a missing link between the palette and
 the widget upon which the accelerator is actually set.

 After hacking for far too long to diagnose the issue, I think I've
 discovered a quite non-invasive fix, which should fix this problem for all
 potential widgets using palettes.

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


More information about the Bugs mailing list