Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguzubiaga97@gmail.com>2012-02-06 14:23:39 (GMT)
committer Agustin Zubiaga <aguzubiaga97@gmail.com>2012-02-06 14:23:39 (GMT)
commit3ed6533896924b155b6746af553070eb7df7b9f5 (patch)
tree411fea3753e4e159a5c9efcf82091c13a7af6831
parent274ba6360eb5a175f7d3e2b01fb95ab013a1a458 (diff)
Treeview fixed
-rw-r--r--.gitignore2
-rw-r--r--activity.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 0a4d0f1..fe08b94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+*.mo
+*.pyo
*.pyc
*.xo
*~
diff --git a/activity.py b/activity.py
index 33b25dc..f23c491 100644
--- a/activity.py
+++ b/activity.py
@@ -514,7 +514,7 @@ class ChartData(gtk.TreeView):
path = 0
elif selected:
- path = self.model.get_path(selected)[0]
+ path = self.model.get_path(selected)[0] + 1
iter = self.model.insert(path, [label, value])