summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
diff options
context:
space:
mode:
authorNecoro <>2008-02-12 23:34:58 +0000
committerNecoro <>2008-02-12 23:34:58 +0000
commit5ca8207c8704690fd518b3acb3a28063ce412fbd (patch)
tree4c0e3965688d499f65dbbea4a78203e59450d61e /portato/gui/gtk/windows.py
parentdb2433793c7315b61f7cbd106a5bbf003c97c575 (diff)
downloadportato-5ca8207c8704690fd518b3acb3a28063ce412fbd.tar.gz
portato-5ca8207c8704690fd518b3acb3a28063ce412fbd.tar.bz2
portato-5ca8207c8704690fd518b3acb3a28063ce412fbd.zip
r771@Devoty: necoro | 2008-02-13 00:34:42 +0100
fixes
Diffstat (limited to 'portato/gui/gtk/windows.py')
-rw-r--r--portato/gui/gtk/windows.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index ceefe0c..19dbfff 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -1616,15 +1616,10 @@ class MainWindow (Window):
store, it = sel.get_selected()
if it:
package = store.get_value(it, 0)
- if not self.cfg.get_local(package, "oneshot"):
- set = True
- else:
- set = False
+ set = (package not in self.queue.oneshotmerge)
- self.cfg.set_local(package, "oneshot", set)
self.queue.append(package, update = True, oneshot = set, forceUpdate = True)
-
def cb_pause_emerge (self, curr):
def pause (cb):
self.emergePaused = cb.get_active()