Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-04-25 18:43:03 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-04-27 16:44:44 (GMT)
commit022ef0dd9791af51d7b9de38e813096f2ca60948 (patch)
treec02d275c1cbc2f07dd12e473c5bb261f39afd83c /webtoolbar.py
parentccd363c1f70a54ce84468c4e850c867a48b6a99e (diff)
Handle new windows request and instead open links in new tabs #3507
Browse being a Sugar activity only has one full screen window. This patchs adds a callback to the new window policy decision requested signal and handles new links in new tabs. If in need, we can also take the decision to not open the link, using: reason = navigation_action.get_reason() I have not come to a reason to do that yet. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'webtoolbar.py')
0 files changed, 0 insertions, 0 deletions