#8563 NORM Not Tri: Sugar Palette doesn't handle 'table menus'.

Zarro Boogs per Child bugtracker at laptop.org
Fri Sep 19 10:56:09 EDT 2008


#8563: Sugar Palette doesn't handle 'table menus'.
--------------------+-------------------------------------------------------
 Reporter:  cscott  |         Owner:  cscott                           
     Type:  task    |        Status:  new                              
 Priority:  normal  |     Milestone:  Not Triaged                      
Component:  sugar   |       Version:  Development build as of this date
 Keywords:          |   Next_action:  never set                        
 Verified:  0       |     Blockedby:                                   
 Blocking:          |  
--------------------+-------------------------------------------------------
 The gtk Menu class supports 'table menus', where the menu entries can be
 laid out in a grid.  This is useful for horizontal menus, and for dense
 menus of icons, and for wrapping the menu when it gets too long, etc.

 The Menu.attach() method is used to add entries to a menu by row and
 column: http://www.pygtk.org/docs/pygtk/class-gtkmenu.html#method-gtkmenu
 --attach

 However, the callback in _Menu, defined in palette.py, only triggers on
 do_insert(), and so the signal emission (and subsequent
 palette._update_separators() call, which places the line underneath the
 menu title text at top) never occurs when you add entries using attach().
 _Menu should override attach() and emit the proper signal.

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


More information about the Bugs mailing list