[Bugs] #3658 sugar-artwork UNSP: ToolbarButton have grey background in Wikipedia activities

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu May 31 13:08:17 EDT 2012


#3658: ToolbarButton have grey background in Wikipedia activities
------------------------------------------+---------------------------------
    Reporter:  godiard                    |          Owner:  manuq                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-artwork              |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by manuq):

 * cc: dsd (added)


Comment:

 Adding icon_name as a gobject property of ToolButton class would solve
 this too, in the toolkit.  However, I don't see this in GTK2 toolkit.

 {{{
 --- a/src/sugar3/graphics/toolbutton.py
 +++ b/src/sugar3/graphics/toolbutton.py
 @@ -120,6 +120,8 @@ class ToolButton(Gtk.ToolButton):
          self.set_icon_widget(icon)
          icon.show()

 +    icon_name = GObject.property(type=str, setter=set_icon)
 +
      def create_palette(self):
          return None
 }}}

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


More information about the Bugs mailing list