Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/charts.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2012-08-20 03:21:25 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-08-20 03:21:25 (GMT)
commite84e0d2a7d20cb158f4789b661bf3ed3f6b85e7f (patch)
tree7019d4e99e81c9acd944cd19513f3739c1862beb /charts.py
parent596d0f6ace10e2807ae292aefd1abb37feee0851 (diff)
GTK3 port start
The activity can open, but there're a lot of bugs: * load from file doesn't work * add value only works at the first time * remove value never works * the helpbutton is too wide (wrap doesn't work) * Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
Diffstat (limited to 'charts.py')
-rw-r--r--charts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/charts.py b/charts.py
index 2cc0208..ad30d49 100644
--- a/charts.py
+++ b/charts.py
@@ -25,12 +25,12 @@ import sugarpycha.line
import sugarpycha.pie
import cairo
-import gobject
+from gi.repository import GObject
-class Chart(gobject.GObject):
+class Chart(GObject.GObject):
def __init__(self, type="vertical", width=600, height=460):
- gobject.GObject.__init__(self)
+ GObject.GObject.__init__(self)
self.dataSet = None
self.options = None