projects
/
matthijs
/
upstream
/
mobilegtd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract some common view stuff into a View class.
[matthijs/upstream/mobilegtd.git]
/
src
/
config
/
defaultconfig.py
diff --git
a/src/config/defaultconfig.py
b/src/config/defaultconfig.py
index 0b032433293082a2bd67670c212a6efa4a4d83c8..f750e73f3d8f3f4aed1c13ccb7cd93356dd4a0f4 100644
(file)
--- a/
src/config/defaultconfig.py
+++ b/
src/config/defaultconfig.py
@@
-1,7
+1,12
@@
+import os
+
main_config_file = 'C:/System/Data/mobile_gtd.cfg'
default_configuration = {"screen":"normal",
main_config_file = 'C:/System/Data/mobile_gtd.cfg'
default_configuration = {"screen":"normal",
-"path":"C:/Data/GTD/",
+# Make the path absolute. This is a no-op on Symbian, since it is
+# already absolute, but helps when running on other systems (some of the
+# code relies on this path being absolute).
+"path": os.path.abspath("C:/Data/GTD") + os.sep,
"inactivity_threshold":"7",
"read_sms":"1",
"action_editor":"form"
"inactivity_threshold":"7",
"read_sms":"1",
"action_editor":"form"