aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-04-25 09:44:39 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-04-25 09:44:39 -0600
commit90e76a16bbd46fe7bd3505e8df8f870d5b1c29be (patch)
treeb105c11f6f8ae3d629bbb1a281eb09fbe132d0c8 /bin
parentd568fcf4b569d5715a1b13e520b87e3737cb6e82 (diff)
it seems my python is getting rusty.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uzbl-tabbed5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/uzbl-tabbed b/bin/uzbl-tabbed
index 4e860d2..03c2ffa 100755
--- a/bin/uzbl-tabbed
+++ b/bin/uzbl-tabbed
@@ -344,7 +344,7 @@ class SocketClient:
args = cmd[3:]
if not message == "EVENT":
- next
+ return
# strip the surrounding []
instance_name = instance_name[1:-1]
@@ -533,6 +533,9 @@ class UzblInstance:
def title_changed(self, gtk_only = True): # GTK-only is for indexes
'''self.title has changed, update the tabs list'''
+ if not self.tab:
+ return
+
tab_titles = config['tab_titles']
tab_indexes = config['tab_indexes']
show_ellipsis = config['show_ellipsis']