Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-11-29 14:26:17 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2012-11-29 14:26:17 (GMT)
commit295d61ffa2e9cbed0a917ee63c468345017f584f (patch)
tree153eae5f5c20bebd19562e849a2d203a714c6f8f
parent181a9a98e556a82a49e440e5116b29e9d55512d5 (diff)
Remove DEFAULT_CONFIG_PATH from widgets.py and use os.path.join to generate
DEFAULT_CONFIG_PATH.
-rw-r--r--AbiWordActivity.py2
-rw-r--r--widgets.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/AbiWordActivity.py b/AbiWordActivity.py
index 1c03b5c..7d54863 100644
--- a/AbiWordActivity.py
+++ b/AbiWordActivity.py
@@ -55,7 +55,7 @@ import speech
from speechtoolbar import SpeechToolbar
logger = logging.getLogger('write-activity')
-DEFAULT_CONFIG_PATH = get_bundle_path() + '/font.cfg'
+DEFAULT_CONFIG_PATH = os.path.join(get_bundle_path() + 'font.cfg')
class AbiWordActivity(activity.Activity):
diff --git a/widgets.py b/widgets.py
index ac8eff0..5b3a796 100644
--- a/widgets.py
+++ b/widgets.py
@@ -29,7 +29,6 @@ from sugar.activity.activity import SCOPE_PRIVATE
from sugar.activity.activity import get_bundle_path
logger = logging.getLogger('write-activity')
-DEFAULT_CONFIG_PATH = get_bundle_path() + '/font.cfg'
"""
# The FontCombo is not used anymore, keep the code here for reference