diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-08-20 03:21:25 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-08-20 03:21:25 (GMT) |
commit | e84e0d2a7d20cb158f4789b661bf3ed3f6b85e7f (patch) | |
tree | 7019d4e99e81c9acd944cd19513f3739c1862beb /charts.py | |
parent | 596d0f6ace10e2807ae292aefd1abb37feee0851 (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.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |