From 6915c81eeb6c24cce7458cfec722a4a094c3af49 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 28 Feb 2007 14:37:29 +0000 Subject: Assorted fixes. --- diff --git a/addressentry.py b/addressentry.py index d5563e0..d4f57ac 100644 --- a/addressentry.py +++ b/addressentry.py @@ -28,8 +28,8 @@ class AddressEntry(Entry): 'progress' : (float, None, None, 0.0, 1.0, 0.0, gobject.PARAM_READWRITE) } - def __init__(self): - Entry.__init__(self) + def __init__(self, **kwargs): + Entry.__init__(self, **kwargs) def create_entry(self): self._address_entry = _sugar.AddressEntry() diff --git a/linksview.py b/linksview.py index 2c0b96b..1ad5584 100755 --- a/linksview.py +++ b/linksview.py @@ -30,7 +30,7 @@ class LinkIcon(CanvasIcon): path = os.path.join(activity.get_bundle_path(), 'activity') icon_name = os.path.join(path, 'activity-web.svg') - CanvasIcon.__init__(self, color=color, icon_name=icon_name) + CanvasIcon.__init__(self, xo_color=color, icon_name=icon_name) self._link = link diff --git a/webactivity.py b/webactivity.py index 07b7692..8a659cc 100755 --- a/webactivity.py +++ b/webactivity.py @@ -92,7 +92,7 @@ class WebActivity(activity.Activity): self._toolbar.set_links_controller(links_controller) def share(self): - Activity.share(self) + activity.Activity.share(self) self._setup_links_controller() -- cgit v0.9.1