Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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])