From c16b547f2c2bc23bef3a93b1987715c00c521718 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Sat, 25 Aug 2007 23:16:36 +0000 Subject: some changes --- portato/gui/gtk/windows.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'portato/gui/gtk/windows.py') 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")) -- cgit v1.2.3-54-g00ecf