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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Aug 29 06:30:20 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
Distribution:  Fedora                     |   Status_field:  New       
------------------------------------------+---------------------------------
 There is a [http://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-
 gtk3/blobs/master/src/sugar3/graphics/palette.py#line263 GtkEventBox
 around the icon] at the upper left in the Palette.

 This gets the default background color with the latest changes in GTK+ 3
 (css style theme).

 This should work (though I wonder if this Eventbox is needed actually):
 {{{
 diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
 index 96aa3fa..6bd634e 100644
 --- a/gtk3/theme/gtk-widgets.css.em
 +++ b/gtk3/theme/gtk-widgets.css.em
 @@ -557,6 +557,11 @@ SugarPaletteWindowWidget GtkScrolledWindow * {
      background-color: @black;
  }

 +SugarPaletteWindowWidget GtkEventBox {
 +    background-color: transparent;
 +}
 +
 +
  /* Scales */

  GtkScale {
 }}}

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


More information about the Bugs mailing list