[orca/new-settings] Additional fix for bug #628569
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Additional fix for bug #628569
- Date: Tue, 14 Sep 2010 00:52:34 +0000 (UTC)
commit afcb63198804d086ac751c9397ad297ac6edb24d
Author: Alejandro Leiva <aleiva emergya es>
Date: Mon Sep 13 21:41:15 2010 +0200
Additional fix for bug #628569
src/orca/orca.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index 85e1692..c2f9519 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -2177,7 +2177,8 @@ def main():
for baseDirName, dirNames, fileNames in os.walk(oldUserPrefsDir):
for dirName in dirNames:
- dstDir = os.path.join(userPrefsDir, dirName)
+ relPath = os.path.relpath(baseDirName, oldUserPrefsDir)
+ dstDir = os.path.join(os.path.join(userPrefsDir, relPath), dirName)
if not os.path.exists(dstDir):
os.mkdir(dstDir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]