From 35c24e8eb940c0da2ef973e9283f4f8d6cc4e9d8 Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Wed, 24 Oct 2007 07:32:27 +0000 Subject: remove ebuild.lang -> is now in the normal gtksourceview --- portato/gui/gtk/windows.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'portato/gui/gtk/windows.py') 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 -- cgit v1.2.3-54-g00ecf