Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-22 15:59:14 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-22 15:59:14 (GMT)
commitb7750109b900e19c9e8dc6d42a990b39d3e69e42 (patch)
tree6edabf14655e3c031a2fcde638ab0a1417709288
parent61db831cf6c2742e19b9139900e3df1e9f975362 (diff)
Don't prepend file://, the shell will pass it.
-rw-r--r--AbiWordActivity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/AbiWordActivity.py b/AbiWordActivity.py
index a36fa20..243fc9d 100644
--- a/AbiWordActivity.py
+++ b/AbiWordActivity.py
@@ -38,7 +38,7 @@ class AbiWordActivity (activity.Activity):
self._journal_handle = None
self._last_saved_text = None
- os.chdir(os.path.expanduser("~"))
+ os.chdir(os.path.expanduser("~"))
hippoCanvasBox = hippo.CanvasBox()
self.set_root(hippoCanvasBox)
@@ -57,7 +57,7 @@ class AbiWordActivity (activity.Activity):
hippoCanvasBox.append(abiwordCanvasContainer, hippo.PACK_EXPAND)
if handle.uri:
- self.abiword_canvas.load_file('file://' + handle.uri)
+ self.abiword_canvas.load_file(handle.uri)
else:
# open a blank file
self.abiword_canvas.load_file("")