diff options
author | portix <portix@gmx.net> | 2013-04-10 12:33:48 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-04-10 12:33:48 +0200 |
commit | d14ed00a4db8485cfd4526cc7bdbfeec53e9b22b (patch) | |
tree | 836c1c18c35dac77b9a4e535fd0f60ee688aa0d2 /src/commands.c | |
parent | f00ded609e933f92fdf84ec822329b2195cc58de (diff) | |
download | dwb-d14ed00a4db8485cfd4526cc7bdbfeec53e9b22b.zip |
New command 'set_as_default'
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c index 472271ab..edf37282 100644 --- a/src/commands.c +++ b/src/commands.c @@ -32,6 +32,7 @@ #include "scripts.h" #include "editor.h" #include "dom.h" +#include "application.h" /* commands.h {{{*/ /* commands_simple_command(keyMap *km) {{{*/ @@ -1089,3 +1090,8 @@ commands_tabdo(KeyMap *km, Arg *arg) dwb_focus_view(current, "tabdo"); return STATUS_OK; } +DwbStatus +commands_set_as_default(KeyMap *km, Arg *arg) +{ + return application_set_default(arg->p); +} |