summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/gtk/windows.py4
-rw-r--r--portato/gui/gui_helper.py1
2 files changed, 4 insertions, 1 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()
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index d1c53d0..fb531d7 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -518,7 +518,6 @@ class EmergeQueue:
if self.title_update: self.title_update(None)
-
if self.process is None: # someone resetted this
self.threadQueue.next()
return