#12329 LOW 13.1.0: GNOME Battery icon does not appear while charging

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 17 05:58:07 EST 2012


#12329: GNOME Battery icon does not appear while charging
-------------------------------------+--------------------------------------
           Reporter:  greenfeld      |       Owner:  dsd                              
               Type:  defect         |      Status:  new                              
           Priority:  low            |   Milestone:  13.1.0                           
          Component:  gnome-desktop  |     Version:  Development build as of this date
         Resolution:                 |    Keywords:                                   
        Next_action:  diagnose       |    Verified:  0                                
Deployment_affected:                 |   Blockedby:                                   
           Blocking:                 |  
-------------------------------------+--------------------------------------

Comment(by dsd):

 The icons themselves are exactly the same between the 2 releases, except
 for the one icon changed in the above commit.

 The gnome-panel side seems OK here - it receives black icon data and so
 renders it as black.

 The problem seems to be on the gnome-settings-daemon side. It creates this
 icon by passing a GIcon to GtkStatusIcon.

  * GtkStatusIcon creates a GtkImage with gtk_image_new()
  * When rendering the pixbuf, it calls gtk_widget_get_style_context() on
 the image to get the style context
  * then calls gtk_icon_info_load_symbolic_for_context() to render the
 pixbuf with the foreground color determined by the context

 Need to figure out exactly how that default style context is determined,
 and how to adjust it for this case.

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


More information about the Bugs mailing list