diff options
author | portix <none@none> | 2012-10-23 01:40:04 +0200 |
---|---|---|
committer | portix <none@none> | 2012-10-23 01:40:04 +0200 |
commit | 78f702905ada582dbca9ec6fd7d0a7c7345fddf0 (patch) | |
tree | 577f417c0e6dd4528ad2a1049a01918ebc398098 /src/commands.c | |
parent | 1bf336e63e1c46a3005d1e4d555d294dd45a9af0 (diff) | |
download | dwb-78f702905ada582dbca9ec6fd7d0a7c7345fddf0.zip |
Renaming hints.js -> base.js, hint_object -> js_base
--HG--
rename : scripts/hints.js => scripts/base.js
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c index af99cc5b..45940b2a 100644 --- a/src/commands.c +++ b/src/commands.c @@ -119,7 +119,7 @@ commands_focus_input(KeyMap *km, Arg *a) { char *value; DwbStatus ret = STATUS_OK; - if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->hint_object, "focusInput", NULL, kJSTypeUndefined, &value)) ) { + if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->js_base, "focusInput", NULL, kJSTypeUndefined, &value)) ) { if (!g_strcmp0(value, "_dwb_no_input_")) ret = STATUS_ERROR; g_free(value); @@ -132,7 +132,7 @@ commands_focus_input(KeyMap *km, Arg *a) { DwbStatus commands_add_search_field(KeyMap *km, Arg *a) { char *value; - if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->hint_object, "addSearchEngine", NULL, kJSTypeUndefined, &value)) ) { + if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->js_base, "addSearchEngine", NULL, kJSTypeUndefined, &value)) ) { if (!g_strcmp0(value, "_dwb_no_hints_")) { return STATUS_ERROR; } |