aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/uzbl/scripts
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-09-22 17:17:26 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-09-22 17:17:26 +0800
commit12a23eb6a95ddb65173d547f5ee74da979a51f38 (patch)
tree8d1722ef8fb33d7f665bfa2d0745bc3a7e42e07e /examples/data/uzbl/scripts
parent28315daa6ba4096a6a4965ea9f0a706ee521e360 (diff)
Make sure event name is capitalised.
Diffstat (limited to 'examples/data/uzbl/scripts')
-rw-r--r--examples/data/uzbl/scripts/plugins/on_event.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/data/uzbl/scripts/plugins/on_event.py b/examples/data/uzbl/scripts/plugins/on_event.py
index dc81fcc..33039cb 100644
--- a/examples/data/uzbl/scripts/plugins/on_event.py
+++ b/examples/data/uzbl/scripts/plugins/on_event.py
@@ -81,6 +81,7 @@ def event_handler(uzbl, *args, **kargs):
def on_event(uzbl, event, cmd):
'''Add a new event to watch and respond to.'''
+ event = event.upper()
events = get_on_events(uzbl)
if event not in events:
uzbl.connect(event, event_handler, on_event=event)