diff options
author | Christer Sjöholm <hcs@furuvik.net> | 2011-03-20 11:37:57 +0100 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-03-21 18:17:54 -0600 |
commit | f0bc65cfca369c5be69f798aa743138cd0c8942b (patch) | |
tree | 5f2038bb506e3ca9c799ba0efcf72917082f821f /examples | |
parent | 7803561048966a88c4effe2466a4dc1e646d1e59 (diff) |
Fixes NEXT_TAB and PREV_TAB in uzbl-tabbed.
The detection of an argument was incorrect.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/data/scripts/uzbl-tabbed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/uzbl-tabbed b/examples/data/scripts/uzbl-tabbed index 13e4e44..c953062 100755 --- a/examples/data/scripts/uzbl-tabbed +++ b/examples/data/scripts/uzbl-tabbed @@ -507,12 +507,12 @@ class UzblInstance: self.parent.new_tab(args[0], '', 0, next=True) elif type == "NEXT_TAB": - if args[0]: + if args: self.parent.next_tab(int(args[0])) else: self.parent.next_tab() elif type == "PREV_TAB": - if args[0]: + if args: self.parent.prev_tab(int(args[0])) else: self.parent.prev_tab() |