[Bugs] #3836 sugar-toolkit-gtk3 UNSP: Palette Icon: drawn with grey background

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Sep 12 22:09:03 EDT 2012


#3836: Palette Icon: drawn with grey background
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos           
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98             
   Component:  sugar-toolkit-gtk3         |        Version:  0.97.x           
    Severity:  Major                      |       Keywords:  shell-port 13.1.0
Distribution:  Fedora                     |   Status_field:  New              
------------------------------------------+---------------------------------

Comment(by manuq):

 We can change the background color of the menuitem instead of setting it
 insensitive.  This does work:

 {{{
 -            self._label_menuitem.set_sensitive(False)
 +            self._label_menuitem.modify_bg(Gtk.StateType.NORMAL,
 +
 style.COLOR_BLACK.get_gdk_color())
 }}}

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


More information about the Bugs mailing list