summaryrefslogtreecommitdiff
path: root/portato/gui/gtk
diff options
context:
space:
mode:
authornecoro <>2007-08-25 23:16:36 +0000
committernecoro <>2007-08-25 23:16:36 +0000
commitc16b547f2c2bc23bef3a93b1987715c00c521718 (patch)
tree2e36d0718d460df4aaf2df04cd8b46c3c81a9e4d /portato/gui/gtk
parent1ca137d525fbc58cb3867b5cdfc0531e44bd5b24 (diff)
downloadportato-c16b547f2c2bc23bef3a93b1987715c00c521718.tar.gz
portato-c16b547f2c2bc23bef3a93b1987715c00c521718.tar.bz2
portato-c16b547f2c2bc23bef3a93b1987715c00c521718.zip
some changes
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 3f29bba..d227e45 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -151,16 +151,13 @@ class UpdateWindow (AbstractDialog):
items.append(model.get_value(iter, 1))
iter = model.iter_next(iter)
- world = [x.get_cp() for x in system.find_all_world_packages()]
for item in items:
- cp = "/".join(system.split_cpv(item)[:2])
- not_in_world = cp not in world
try:
try:
- self.queue.append(item, unmerge = False, oneshot = not_in_world)
+ self.queue.append(item, unmerge = False, oneshot = True)
except PackageNotFoundException, e:
if unmask_dialog(e[0]) == gtk.RESPONSE_YES :
- self.queue.append(item, unmerge = False, unmask = True, oneshot = not_in_world)
+ self.queue.append(item, unmerge = False, unmask = True, oneshot = True)
except BlockedException, e:
blocked_dialog(e[0], e[1])
@@ -904,6 +901,7 @@ class MainWindow (Window):
self.cfg.modify_external_configs()
gtk.link_button_set_uri_hook(lambda btn, x: listener.send_cmd([self.cfg.get("browserCmd", section = "GUI"), btn.get_uri()]))
+ gtk.about_dialog_set_url_hook(lambda *args: True) # dummy - if not set link is not set as link; if link is clicked the normal uri_hook is called too - thus do not call browser here
# set plugins and plugin-menu
splash(_("Loading Plugins"))