diff options
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c index 564b2ae3..4b885fd3 100644 --- a/src/commands.c +++ b/src/commands.c @@ -30,6 +30,8 @@ #include "download.h" #include "js.h" #include "scripts.h" +#include "editor.h" +#include "dom.h" inline static int dwb_floor(double x) { @@ -785,7 +787,7 @@ commands_fullscreen(KeyMap *km, Arg *arg) DwbStatus commands_open_editor(KeyMap *km, Arg *arg) { - return dwb_open_in_editor(); + return editor_open(); }/*}}}*/ /* dwb_command_mode {{{*/ @@ -818,7 +820,7 @@ commands_set_bars(int status) gtk_widget_set_visible(dwb.gui.topbox, (status & BAR_VIS_TOP) && (GET_BOOL("show-single-tab") || dwb.state.views->next)); gtk_widget_set_visible(dwb.gui.bottombox, status & BAR_VIS_STATUS); if ((status & BAR_VIS_STATUS) ) - dwb_dom_remove_from_parent(WEBKIT_DOM_NODE(CURRENT_VIEW()->hover.element), NULL); + dom_remove_from_parent(WEBKIT_DOM_NODE(CURRENT_VIEW()->hover.element), NULL); } /* commands_toggle_bars {{{*/ DwbStatus |