summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <none@none>2012-10-23 01:40:04 +0200
committerportix <none@none>2012-10-23 01:40:04 +0200
commit78f702905ada582dbca9ec6fd7d0a7c7345fddf0 (patch)
tree577f417c0e6dd4528ad2a1049a01918ebc398098 /src/commands.c
parent1bf336e63e1c46a3005d1e4d555d294dd45a9af0 (diff)
downloaddwb-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.c4
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;
}