#4420 NORM Future : Activity icons in filter should be white outlines

Zarro Boogs per Child bugtracker at laptop.org
Sun Nov 18 08:35:05 EST 2007


#4420: Activity icons in filter should be white outlines
-------------------------------+--------------------------------------------
  Reporter:  Eben              |       Owner:  tomeu         
      Type:  enhancement       |      Status:  new           
  Priority:  normal            |   Milestone:  Future Release
 Component:  journal-activity  |     Version:                
Resolution:                    |    Keywords:                
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Changes (by tomeu):

 * cc: marco (added)


Comment:

 In order to colorize the svg icons, we need to be able to use inside
 comboboxes the sugar.graphics.icon.Icon class. For that, a new
 CellRenderer is needed.

 The attached patch adds a CellRendererIcon that uses Icon to render to the
 window in the combobox. Instead of refactoring the on_expose_event method
 like in the patch, I think Icon should be divided in two classes: one
 implementing the logic for badges, coloring, etc., and another inheriting
 from gtk.Image and using that other class.

 Marco, any other idea?

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



More information about the Bugs mailing list