[hamster-applet/gnome-2-32] fixed regression introduced by previous fix.
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet/gnome-2-32] fixed regression introduced by previous fix.
- Date: Fri, 10 Sep 2010 23:01:23 +0000 (UTC)
commit 6bf2491e0dc58106ac9bc7e81fdfe85b3862ddfb
Author: Toms Bauģis <toms baugis gmail com>
Date: Sat Sep 11 00:00:25 2010 +0100
fixed regression introduced by previous fix.
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 ec9a952..09dea5d 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -510,6 +510,9 @@ class FactCellRenderer(gtk.GenericCellRenderer):
selected = flags and flags & gtk.CELL_RENDERER_SELECTED
+ self.selected_color = widget.get_style().text[gtk.STATE_SELECTED]
+ self.normal_color = widget.get_style().text[gtk.STATE_NORMAL]
+
text_color = self.normal_color
if selected:
text_color = self.selected_color
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]