summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
diff options
context:
space:
mode:
authornecoro <>2007-04-16 16:35:39 +0000
committernecoro <>2007-04-16 16:35:39 +0000
commit35d7c73cf74e891b6ead631444e4e470b3a7a941 (patch)
tree39bbab5669a1e2ab239fcd4698c23f9aeaa09e82 /portato/gui/gtk/windows.py
parent19f9e0b5234693cf7e27a24c94f2136cd90be8c7 (diff)
downloadportato-35d7c73cf74e891b6ead631444e4e470b3a7a941.tar.gz
portato-35d7c73cf74e891b6ead631444e4e470b3a7a941.tar.bz2
portato-35d7c73cf74e891b6ead631444e4e470b3a7a941.zip
added preferences for Qt-Frontend
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index f70d2bb..d2151ab 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -932,8 +932,8 @@ class MainWindow (Window):
store = self.queueTree
if len(path) > 1:
iterator = store.get_original().get_iter(path)
- if store.is_in_emerge(iterator):
- package = store.get_value(iterator, 0)
+ if store.iter_has_parent(iterator):
+ package = store.get_value(iterator, store.get_cpv_column())
cat, name, vers, rev = system.split_cpv(package)
if rev != "r0": vers = vers+"-"+rev
self.show_package(cat+"/"+name, queue = self.queue, version = vers, instantChange = True, doEmerge = False)