Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Maurer <uwog@uwog.net>2007-11-13 15:01:09 (GMT)
committer Marc Maurer <uwog@uwog.net>2007-11-13 15:01:09 (GMT)
commit47ac607f12ef7ef875b1a7676d4599aa1a07c321 (patch)
tree607b98e0260f935a2f91e43e6a40e9b736156254
parent797f92bac8d07210b60982ded294caf3a89905c4 (diff)
Use 'instance' instead of 'data' as a path prefix; part of 4850
-rw-r--r--NEWS2
-rw-r--r--toolbar.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 20b6eee..27de306 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* Use 'instance' instead of 'data' as a path prefix; part of 4850 (uwog)
+
52
* Fix 4731: Find control should have embedded search/cancel icons (uwog)
diff --git a/toolbar.py b/toolbar.py
index e59d058..955b54f 100644
--- a/toolbar.py
+++ b/toolbar.py
@@ -80,7 +80,7 @@ class WriteActivityToolbarExtension:
fileObject.metadata['fulltext'] = self._abiword_canvas.get_content(extension_or_mimetype=".txt")[:3000]
# write out the document contents in the requested format
- fileObject.file_path = os.path.join(self._activity.get_activity_root(), 'data', '%i' % time.time())
+ fileObject.file_path = os.path.join(self._activity.get_activity_root(), 'instance', '%i' % time.time())
self._abiword_canvas.save('file://' + fileObject.file_path, mimetype, exp_props)
# store the journal item