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/gui/gtk/windows.py | |
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 'portato/gui/gtk/windows.py')
-rw-r--r-- | portato/gui/gtk/windows.py | 7 |
1 files changed, 3 insertions, 4 deletions
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 |