aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/uzbl-tabbed
diff options
context:
space:
mode:
authorGravatar Dmytro Milinevskyy <milinevskyy@gmail.com>2010-02-26 01:56:32 +0200
committerGravatar Dmytro Milinevskyy <milinevskyy@gmail.com>2010-02-26 01:56:32 +0200
commit8e34c38f9709a38872a962e78e1d5096f4ddf05b (patch)
tree69e36286ec541e4c002a8bb7cc1de177a102ffec /examples/data/scripts/uzbl-tabbed
parent69380293dc1fdf65a7e105b55150e9feee715e2c (diff)
reverted commit
Diffstat (limited to 'examples/data/scripts/uzbl-tabbed')
-rwxr-xr-xexamples/data/scripts/uzbl-tabbed8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/data/scripts/uzbl-tabbed b/examples/data/scripts/uzbl-tabbed
index e542dbf..e3e890d 100755
--- a/examples/data/scripts/uzbl-tabbed
+++ b/examples/data/scripts/uzbl-tabbed
@@ -371,9 +371,8 @@ class SocketClient:
class UzblInstance:
'''Uzbl instance meta-data/meta-action object.'''
- def __init__(self, parent, tab, name, uri, title, switch, process):
+ def __init__(self, parent, tab, name, uri, title, switch):
- self.process = process
self.parent = parent
self.tab = tab
self.name = name
@@ -528,7 +527,6 @@ class UzblInstance:
if self._client:
self._client.close()
self._client = None
- self.process.wait()
class UzblTabbed:
@@ -996,9 +994,9 @@ class UzblTabbed:
cmd = ['uzbl-browser', '-n', name, '-s', str(sid),
'--connect-socket', self.socket_path, '--uri', uri]
- process = subprocess.Popen(cmd) # TODO: do i need close_fds=True ?
+ subprocess.Popen(cmd) # TODO: do i need close_fds=True ?
- uzbl = UzblInstance(self, tab, name, uri, title, switch, process)
+ uzbl = UzblInstance(self, tab, name, uri, title, switch)
SocketClient.instances_queue[name] = uzbl
self.tabs[tab] = uzbl