summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/windows.py
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/windows.py
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"))
oot-optionnecoro7-11/+57 2007-04-24changed TODO and ChangeLognecoro2-1/+3 2007-04-24using (kde/gk)sunecoro2-2/+2 2007-04-24add application icon and desktop filenecoro1-2/+2 2007-04-24add application icon and desktop filenecoro7-4/+25 2007-04-24moved *.glade and *.ui to one directory to omit the change of the config.py e...necoro8-5/+2538 2007-04-24moved *.glade and *.ui to one directory to omit the change of the config.py e...necoro5-1191/+0 2007-04-24moved *.glade and *.ui to one directory to omit the change of the config.py e...necoro1-1340/+0 2007-04-24added dialogs to warn you when the queue is running on quitting portatonecoro8-214/+267 2007-04-20Made qt plugin-ready; lots of documentationnecoro15-81/+351 2007-04-18nomsgnecoro1-1/+0 2007-04-18finished Qt-Frontendnecoro5-15/+117 2007-04-17marking installed packages in pkglistnecoro5-14/+50 2007-04-16added ebuild window for Qt-Frontendnecoro4-2/+229 2007-04-16added preferences for Qt-Frontendnecoro9-279/+710 2007-04-13Improved masking display and made most of the Qt-Frontend worknecoro7-35/+334 2007-04-10Some more functionality for the Qt-Frontend (complete emerge)necoro8-217/+347 2007-04-07Some more functionality for the Qt-Frontendnecoro11-88/+463 2007-04-07Added Qt-Terminalnecoro4-4/+213 2007-04-06First qt draftnecoro6-1/+796 2007-04-04showed masked packages unmasked by the user similar to stable marked testing ...necoro5-13/+40 2007-03-31changed changelognecoro1-1/+2 2007-03-31Some small changes for etcproposals 1.1necoro1-2/+2 2007-03-31Some small changes for etcproposals 1.1necoro2-3/+3 2007-03-31Some small changes for etcproposals 1.1necoro1-6/+13 2007-03-31Allowed Plugins to have a menunecoro7-201/+315 2007-03-15Added etc-proposals pluginnecoro7-28/+121 2007-03-10Added USE_EXPAND-supportnecoro5-11/+63 2007-03-10Added plugin-data to about-dialognecoro3-197/+264