From e84e0d2a7d20cb158f4789b661bf3ed3f6b85e7f Mon Sep 17 00:00:00 2001 From: Agustin Zubiaga Date: Mon, 20 Aug 2012 03:21:25 +0000 Subject: 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 --- (limited to 'charts.py') 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 -- cgit v0.9.1