summaryrefslogtreecommitdiff
path: root/grc/python/Constants.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2014-02-02 12:02:25 +0100
committerSebastian Koslowski <koslowski@kit.edu>2014-02-02 12:02:25 +0100
commite9ff54269ac473fbb1f892307e7f1f421b130db4 (patch)
treec8ec2bb945ea5c63e623450e795cd454edca0a91 /grc/python/Constants.py
parentd9040c9f64de17a86b9288d0f470e194490384d0 (diff)
grc: move xterm pref to Constants.py
Diffstat (limited to 'grc/python/Constants.py')
-rw-r--r--grc/python/Constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/grc/python/Constants.py b/grc/python/Constants.py
index 15cc203b43..0e974df43c 100644
--- a/grc/python/Constants.py
+++ b/grc/python/Constants.py
@@ -34,6 +34,9 @@ BLOCKS_DIRS = filter( #filter blank strings
]).split(PATH_SEP),
) + [HIER_BLOCKS_LIB_DIR]
+#user settings
+XTERM_EXECUTABLE = _gr_prefs.get_string('grc', 'xterm_executable', 'xterm')
+
#file creation modes
TOP_BLOCK_FILE_MODE = stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP | stat.S_IROTH
HIER_BLOCK_FILE_MODE = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH