[hamster-applet] setting cell-background-gdk instead of cell-background property to change the background as the latt
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] setting cell-background-gdk instead of cell-background property to change the background as the latt
- Date: Sat, 21 May 2011 13:26:38 +0000 (UTC)
commit a1e847bbb01c616054cf6ec88f828f5b26f76889
Author: Toms Bauģis <toms baugis gmail com>
Date: Sat May 21 16:25:53 2011 +0300
setting cell-background-gdk instead of cell-background property to change the background as the latter seems to be wanting a string. fixes the unreproducible bug 640541. patch by Jamie Strandboge
src/hamster/widgets/activityentry.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/hamster/widgets/activityentry.py b/src/hamster/widgets/activityentry.py
index 2d026dd..74888ac 100644
--- a/src/hamster/widgets/activityentry.py
+++ b/src/hamster/widgets/activityentry.py
@@ -149,8 +149,8 @@ class ActivityEntry(gtk.Entry):
#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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]