summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/queue.py9
-rw-r--r--portato/gui/templates/AboutWindow.ui1
-rw-r--r--portato/gui/windows/main.py4
3 files changed, 12 insertions, 2 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index e19f8cb..7c667f9 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -532,6 +532,15 @@ class EmergeQueue:
except ValueError: # no && in command
self.doEmerge([],[],{}, command, caller = self.sync)
+ # syncing portage and DB after emerge sync
+ def finish ():
+ debug("Finishing sync...")
+ system.reload_settings()
+ self.db.reload()
+ debug("Sync finished")
+
+ self.threadQueue.put(finish, caller = self.sync)
+
def kill_emerge (self):
"""Kills the emerge process."""
if self.process is not None:
diff --git a/portato/gui/templates/AboutWindow.ui b/portato/gui/templates/AboutWindow.ui
index 550418b..56a7ff6 100644
--- a/portato/gui/templates/AboutWindow.ui
+++ b/portato/gui/templates/AboutWindow.ui
@@ -27,6 +27,7 @@ Thanks goto:
<property name="translator_credits">Catalan - Roger Calv&#xF3;
German - Ren&#xE9; 'Necoro' Neumann
Polish - Tomasz Osi&#x144;ski
+Portugese (Brazilian) - Alberto Federman Neto
Spanish - Daniel Halens
Turkish - G&#xFC;rkan 'seqizz' G&#xFC;r</property>
<property name="artists">p4r4d0x (inspired by wolfden)</property>
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 574fa14..1b67747 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -235,6 +235,7 @@ class PackageTable:
self.installedCheck.hide()
self.maskedCheck.hide()
+ self.maskedLabel.set_label("") # this is needed for some unknown reason
self.maskedLabel.hide()
self.testingCheck.hide()
self.emergeBtn.set_sensitive(False)
@@ -264,8 +265,7 @@ class PackageTable:
else:
self.maskedCheck.set_active(pkg.is_masked(use_changed = False))
- if reason:
- self.maskedLabel.set_label(reason)
+ self.maskedLabel.set_label(reason)
if pkg.is_testing(use_keywords = False) and not pkg.is_testing(use_keywords = True):
self.testingCheck.set_label("<i>(%s)</i>" % _("Testing"))