diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-10-28 23:02:35 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-10-28 23:02:35 +0100 |
commit | 667747a0a9df9e6ad21bf7849a8e0ec80e4792f6 (patch) | |
tree | d123f95feabd0c9c05a75b0429ddc50f1f78db4a /portato/gui/windows/main.py | |
parent | 4ee82f29f045300268f4bbc0a100c8ed90d15c5f (diff) | |
download | portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.gz portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.bz2 portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.zip |
Remove some trailing whitespaces
Diffstat (limited to '')
-rw-r--r-- | portato/gui/windows/main.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 562e603..8728d57 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -133,7 +133,7 @@ class PackageTable: self.instantChange = instantChange self.type = type - if not self.queue or not self.doEmerge: + if not self.queue or not self.doEmerge: self.emergeBtn.set_sensitive(False) self.unmergeBtn.set_sensitive(False) @@ -533,7 +533,7 @@ class PackageTable: if not store[path][0]: prefix = "-" - pkg.set_use_flag(prefix+flag) + pkg.set_use_flag(prefix+flag) if self.instantChange: self._update_keywords(True, update = True) @@ -551,7 +551,7 @@ class MainWindow (Window): LOG_PAGE ) = range(3) - def __init__ (self, splash = None): + def __init__ (self, splash = None): """ Build up window. @@ -1199,9 +1199,9 @@ class MainWindow (Window): self.tray.set_tooltip(title) window_title_update(title) - if title is None or not self.cfg.get_boolean("updateConsole", "GUI"): + if title is None or not self.cfg.get_boolean("updateConsole", "GUI"): title = _("Console") - else: + else: title = ("%s (%s)") % (_("Console"), title) tlength = int(self.cfg.get("titlelength", "GUI")) @@ -1588,7 +1588,7 @@ class MainWindow (Window): Show the list of updateble packages. """ - def __update(): + def __update(): def cb_idle_show(packages): """ Callback opening the menu when the calculation is finished. |