summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
diff options
context:
space:
mode:
authorNecoro <>2007-10-03 17:59:27 +0000
committerNecoro <>2007-10-03 17:59:27 +0000
commit0541f1abd3f4317e0272934367fe2d84df246cd9 (patch)
treefa44e674dc4ebdb882aa34cf8f6fed45252405a9 /portato/gui/gtk/windows.py
parent388c8b8499e5725995c9411cfe63d5e69867463f (diff)
downloadportato-0541f1abd3f4317e0272934367fe2d84df246cd9.tar.gz
portato-0541f1abd3f4317e0272934367fe2d84df246cd9.tar.bz2
portato-0541f1abd3f4317e0272934367fe2d84df246cd9.zip
small fixes; removed old icon
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 7234490..dc3dc35 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -391,6 +391,10 @@ class EbuildWindow (AbstractDialog):
else:
man = gtksourceview2.LanguageManager()
language = man.get_language("ebuild")
+
+ if language is None:
+ info(_("No ebuild language file installed. Falling back to shell."))
+ language = man.get_language("sh")
# set buffer and view
self.buf = gtksourceview2.Buffer()