Commit e14a7ddc authored by Joanmarie Diggs's avatar Joanmarie Diggs
Browse files

Fix for bug 669813 - Remove pyxdg dependency

parent c3df7cce
......@@ -33,7 +33,6 @@ Orca also has the following dependencies:
* pygobject-3.0 - Python bindings for the GObject library
* gtk+-3.0 - Gtk+ toolkit
* json-py - a JSON (http://json.org) reader and writer in Python
* pyxdg - Python library to access freedesktop.org standards
* python-speechd - Python bindings for Speech Dispatcher (optional)
* BrlTTY - BrlTTY support for braille (optional)
* BrlAPI - BrlAPI support for braille (optional)
......
......@@ -47,7 +47,6 @@ AM_PATH_PYTHON(2.7)
AM_CHECK_PYMOD(cairo,,,[AC_MSG_ERROR(Could not find python module: cairo)])
AM_CHECK_PYMOD(json,,,[AC_MSG_ERROR(Could not find python module: json)])
AM_CHECK_PYMOD(xdg,,,[AC_MSG_ERROR(Could not find python module: xdg)])
AM_CHECK_PYMOD(brlapi,,[brlapi_available="yes"],[brlapi_available="no"])
AM_CHECK_PYMOD(speechd,,[speechd_available="yes"],[speechd_available="no"])
LOUIS_TABLE_DIR=""
......
......@@ -32,7 +32,6 @@ import os
import imp
from gi.repository import Gio, GLib
from json import load
from xdg.BaseDirectory import xdg_data_home
import debug
from keybindings import KeyBinding
......@@ -75,7 +74,8 @@ class SettingsManager(object):
self._backend = None
self.profile = None
self.backendName = backend
self._prefsDir = prefsDir or os.path.join(xdg_data_home, "orca")
self._prefsDir = prefsDir \
or os.path.join(GLib.get_user_data_dir(), "orca")
# Dictionaries for store the default values
# The keys and values are defined at orca.settings
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment