summaryrefslogtreecommitdiff
path: root/grc/gui/Constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Constants.py')
-rw-r--r--grc/gui/Constants.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/grc/gui/Constants.py b/grc/gui/Constants.py
index 741c6fda95..b891c5b313 100644
--- a/grc/gui/Constants.py
+++ b/grc/gui/Constants.py
@@ -29,6 +29,16 @@ from gnuradio import gr
prefs = gr.prefs()
GR_PREFIX = gr.prefix()
EDITOR = prefs.get_string('grc', 'editor', '')
+XTERM_EXECUTABLE = prefs.get_string('grc', 'xterm_executable', 'xterm')
+
+PREFS_FILE = os.environ.get(
+ 'GRC_PREFS_PATH',
+ os.path.expanduser('~/.gnuradio/grc.conf')
+)
+PREFS_FILE_OLD = os.environ.get(
+ 'GRC_PREFS_PATH',
+ os.path.expanduser('~/.grc')
+)
# default path for the open/save dialogs
DEFAULT_FILE_PATH = os.getcwd()