diff options
author | Necoro <> | 2007-10-24 07:32:27 +0000 |
---|---|---|
committer | Necoro <> | 2007-10-24 07:32:27 +0000 |
commit | 35c24e8eb940c0da2ef973e9283f4f8d6cc4e9d8 (patch) | |
tree | 3891924deea80e7bb2db3a48cb229d0faa7c2d6d /portato | |
parent | 0326ff6e33b44ab3696a25ff14f8c76622f9afd9 (diff) | |
download | portato-35c24e8eb940c0da2ef973e9283f4f8d6cc4e9d8.tar.gz portato-35c24e8eb940c0da2ef973e9283f4f8d6cc4e9d8.tar.bz2 portato-35c24e8eb940c0da2ef973e9283f4f8d6cc4e9d8.zip |
remove ebuild.lang -> is now in the normal gtksourceview
Diffstat (limited to '')
-rwxr-xr-x | portato.py | 2 | ||||
-rw-r--r-- | portato/gui/gtk/windows.py | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -123,7 +123,7 @@ def main (): env = os.environ.copy() env.update(DBUS_SESSION_BUS_ADDRESS="") cmd = SU_COMMAND.split() - subprocess.Popen(cmd+["%s --no-listener --shm %ld %ld %ld %s" % (sys.argv[0], mem.key, sig.key, rw.key, " ".join(additional))], env = env, close_fds = False) + subprocess.Popen(cmd+["%s --no-listener --shm %ld %ld %ld %s" % (sys.argv[0], mem.key, sig.key, rw.key, " ".join(additional))], env = env) get_listener().set_recv(mem, sig, rw) diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index b17c00c..476411d 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -25,7 +25,7 @@ from gettext import lgettext as _ # our backend stuff from ... import get_listener, plugin from ...helper import debug, warning, error, unique_array -from ...constants import CONFIG_LOCATION, VERSION, APP_ICON, DATA_DIR +from ...constants import CONFIG_LOCATION, VERSION, APP_ICON from ...backend import flags, system from ...backend.exceptions import PackageNotFoundException, BlockedException @@ -383,11 +383,10 @@ class EbuildWindow (AbstractDialog): """Creates the buffer and the view.""" man = gtksourceview2.LanguageManager() - man.set_search_path(man.get_search_path()+[DATA_DIR]) - language = man.get_language("ebuild") + language = man.get_language("gentoo") if language is None: - warning(_("No ebuild language file installed. Falling back to shell.")) + warning(_("No gentoo language file installed. Falling back to shell.")) language = man.get_language("sh") # set buffer and view |