aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Christer Sjöholm <hcs@furuvik.net>2011-03-20 12:07:58 +0100
committerGravatar Brendan Taylor <whateley@gmail.com>2011-03-21 18:18:12 -0600
commitee35babdd9ebfcb605d2c642357153850cb125e4 (patch)
tree5a46d625afbe1f5128ddd8bcc4322f319c4657af /examples
parentf0bc65cfca369c5be69f798aa743138cd0c8942b (diff)
Fix for uzbl-tabbed new-tab.
Some times the uri may be a unicode string, so we convert it to a str as required by gobject.spawn_async(). This happens when a page want to open an url in a new window.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/uzbl-tabbed2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/uzbl-tabbed b/examples/data/scripts/uzbl-tabbed
index c953062..d3cfe2f 100755
--- a/examples/data/scripts/uzbl-tabbed
+++ b/examples/data/scripts/uzbl-tabbed
@@ -1016,7 +1016,7 @@ class UzblTabbed:
title = config['new_tab_title']
cmd = ['uzbl-browser', '-n', name, '-s', str(sid),
- '--connect-socket', self.socket_path, '--uri', uri]
+ '--connect-socket', self.socket_path, '--uri', str(uri)]
gobject.spawn_async(cmd, flags=gobject.SPAWN_SEARCH_PATH)
uzbl = UzblInstance(self, tab, name, uri, title, switch)