[hamster-applet] fixed bug 619161 - layout of description without labels



commit 41c1bd1e57324fabc4296bea87461a510f914724
Author: Toms Bauģis <toms baugis gmail com>
Date:   Thu May 20 09:17:18 2010 +0100

    fixed bug 619161 - layout of description without labels

 src/hamster/widgets/facttree.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/widgets/facttree.py b/src/hamster/widgets/facttree.py
index dead7f0..2b75f30 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -509,12 +509,13 @@ class FactCellRenderer(gtk.GenericCellRenderer):
         self.category_label.y = y
 
 
+        x = cell_start + activity_width + category_width + 12
+
         current_height = 0
         if fact["tags"]:
             # try putting tags on same line if they fit
             # otherwise move to the next line
             tags_end = cell_start + cell_width
-            x = cell_start + activity_width + category_width + 12
 
             tag = Tag(fact["tags"][0])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]