aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-09-20 01:23:34 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-09-20 01:23:34 +0800
commitc0e0ed3fe7af41cec1d6d5427fcc581e68743add (patch)
tree5dcc6ecb09e420486c7e9b9fbd774b72c058d8b3 /examples
parent68eb932d7ce492c68af2ddf41e66765e0907e054 (diff)
Clear keycmd on load_start not load_commit
Diffstat (limited to 'examples')
-rw-r--r--examples/data/uzbl/scripts/plugins/mode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/uzbl/scripts/plugins/mode.py b/examples/data/uzbl/scripts/plugins/mode.py
index c2c3bbb..2befbf9 100644
--- a/examples/data/uzbl/scripts/plugins/mode.py
+++ b/examples/data/uzbl/scripts/plugins/mode.py
@@ -123,7 +123,7 @@ def mode_config(uzbl, args):
uzbl.set(key, value)
-def commit_reset(uzbl, *args):
+def load_reset(uzbl, *args):
config = uzbl.get_config()
if 'reset_on_commit' not in config or config['reset_on_commit'] == '1':
set_mode(uzbl)
@@ -151,7 +151,7 @@ def init(uzbl):
'INSTANCE_START': add_instance,
'KEY_PRESS': key_press,
'MODE_CONFIG': mode_config,
- 'LOAD_COMMIT': commit_reset,
+ 'LOAD_START': load_reset,
'TOGGLE_MODES': toggle_modes}
for (event, handler) in connects.items():