summaryrefslogtreecommitdiff
path: root/portato/constants.py
diff options
context:
space:
mode:
authorNecoro <>2007-10-15 08:54:54 +0000
committerNecoro <>2007-10-15 08:54:54 +0000
commitac3b08b33934c247345673bb8c746ffda17b5a60 (patch)
treecf2985f51e890831189f2dcfc11c27f1b20b64da /portato/constants.py
parentd14f493eaef54c9120d9c24951d82c45a0b51f44 (diff)
downloadportato-ac3b08b33934c247345673bb8c746ffda17b5a60.tar.gz
portato-ac3b08b33934c247345673bb8c746ffda17b5a60.tar.bz2
portato-ac3b08b33934c247345673bb8c746ffda17b5a60.zip
use anonymous pipe instead of socket -- fixes security issue
Diffstat (limited to '')
-rw-r--r--portato/constants.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/portato/constants.py b/portato/constants.py
index d871e78..3aea05d 100644
--- a/portato/constants.py
+++ b/portato/constants.py
@@ -40,8 +40,6 @@ These should be set during the installation.
@type STD_FRONTEND: string
@var SU_COMMAND: command to execute to "su"
@type SU_COMMAND: string
-@var SOCKET: path to socket for communication between listener and GUI
-@type SOCKET: string
"""
import os
from os.path import join as pjoin
@@ -56,6 +54,8 @@ SETTINGS_DIR = pjoin(HOME, "."+APP)
CONFIG_DIR = "/etc/portato/"
CONFIG_LOCATION = pjoin(CONFIG_DIR, "portato.cfg")
+VAR_DIR = "/var/portato/"
+
DATA_DIR = "portato/gui/templates/"
PLUGIN_DIR = "plugins/"
@@ -67,10 +67,9 @@ APP_ICON = pjoin(ICON_DIR, "portato-icon.png")
LOCALE_DIR = "i18n/"
-FRONTENDS = ["gtk" ,"qt"]
+FRONTENDS = ["gtk"]
STD_FRONTEND = "gtk"
SU_COMMAND = "gksu -D 'Portato'"
-SOCKET = "/tmp/portato.socket"
-USE_CATAPULT = False
+USE_CATAPULT = True