Author: Jamie Strandboge <jamie@ubuntu.com>
Description: Use correct type when setting self.time_icon_cell.set_property()
 and self.time_cell.set_property(). self.get_style().bg[gtk.STATE_NORMAL]
 is a GdkColor (get_style().bg is an array of gtk,gdk.Colors), so we must use
 cell-background-gdk instead of cell-background, since cell-background is
 used with strings.
Bug-Ubuntu: https://launchpad.net/bugs/705482
Forwarded: yes

Index: hamster-applet-2.31.92/src/hamster/widgets/activityentry.py
===================================================================
--- hamster-applet-2.31.92.orig/src/hamster/widgets/activityentry.py	2011-01-25 07:15:33.000000000 -0600
+++ hamster-applet-2.31.92/src/hamster/widgets/activityentry.py	2011-01-25 07:22:28.000000000 -0600
@@ -150,8 +150,8 @@
 
         #set proper background color (we can do that only on a realised widget)
         bgcolor = self.get_style().bg[gtk.STATE_NORMAL]
-        self.time_icon_cell.set_property("cell-background", bgcolor)
-        self.time_cell.set_property("cell-background", bgcolor)
+        self.time_icon_cell.set_property("cell-background-gdk", bgcolor)
+        self.time_cell.set_property("cell-background-gdk", bgcolor)
 
         text_color = self.get_style().text[gtk.STATE_NORMAL]
         category_color = graphics.Colors.contrast(text_color,  100)
