summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-04-10 12:33:48 +0200
committerportix <portix@gmx.net>2013-04-10 12:33:48 +0200
commitd14ed00a4db8485cfd4526cc7bdbfeec53e9b22b (patch)
tree836c1c18c35dac77b9a4e535fd0f60ee688aa0d2 /src/commands.c
parentf00ded609e933f92fdf84ec822329b2195cc58de (diff)
downloaddwb-d14ed00a4db8485cfd4526cc7bdbfeec53e9b22b.zip
New command 'set_as_default'
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c6
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);
+}