aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/prepaid-manager-applet.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/prepaid-manager-applet.py b/src/prepaid-manager-applet.py
index e1aadfb..f0fe9a3 100755
--- a/src/prepaid-manager-applet.py
+++ b/src/prepaid-manager-applet.py
@@ -765,19 +765,6 @@ def setup_i18n():
logging.debug('Using locale: %s', locale.getlocale())
-def setup_schemas():
- """If we're running from the source tree add our gsettings schema to the
- list of schema dirs"""
-
- schema_dir = 'data'
- schema = os.path.join(schema_dir,
- "%s.gschema.xml" % AccountDB.PPM_GSETTINGS_ID)
- if os.path.exists(schema):
- logging.debug("Running from source tree, adding local schema dir '%s'"
- % schema_dir)
- os.environ["GSETTINGS_SCHEMA_DIR"] = "data"
-
-
def setup_prgname():
"""Set the prgname since gnome-shell is application based"""
GLib.set_prgname(ppm.prgname)
@@ -802,7 +789,6 @@ def main(args):
setup_i18n()
setup_prgname()
- setup_schemas()
controller = PPMController()
main_dialog = PPMDialog(controller)