[hamster-applet] fixed errors on no data. will sort out completely later
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] fixed errors on no data. will sort out completely later
- Date: Fri, 10 Sep 2010 22:54:55 +0000 (UTC)
commit 289663b9c02b0d0bd9d16f293975a9306a74baec
Author: Toms Bauģis <toms baugis gmail com>
Date: Fri Sep 10 23:54:23 2010 +0100
fixed errors on no data. will sort out completely later
src/hamster/widgets/facttree.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/hamster/widgets/facttree.py b/src/hamster/widgets/facttree.py
index d8830c7..a6296cd 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -503,6 +503,9 @@ class FactCellRenderer(gtk.GenericCellRenderer):
return -1
x, y, cell_width, h = bounds
+ self.selected_color = widget.get_style().text[gtk.STATE_SELECTED]
+ self.normal_color = widget.get_style().text[gtk.STATE_NORMAL]
+
g = graphics.Graphics(context)
fact = self.data
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]