diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-28 14:37:29 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-28 14:37:29 (GMT) |
commit | 6915c81eeb6c24cce7458cfec722a4a094c3af49 (patch) | |
tree | bc2687dcd6744029b331b786a7c77184b8f38d79 | |
parent | d6af4a0a5d5fba2303922eb12b1e1fa27a8c6acf (diff) |
Assorted fixes.
-rw-r--r-- | addressentry.py | 4 | ||||
-rwxr-xr-x | linksview.py | 2 | ||||
-rwxr-xr-x | webactivity.py | 2 |
3 files changed, 4 insertions, 4 deletions
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() |