diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-22 04:01:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-22 04:01:36 +0000 |
| commit | 5d57a39b702a0f198c8a180a20058e3c82615523 (patch) | |
| tree | f4d99e1ccd99262c51b58e841f2094c8f9cedb3a /openbox/actions/reconfigure.c | |
| parent | 1b7e813c62a6e54690d15550d51ac4269e63f346 (diff) | |
add exit and reconfigure actions
Diffstat (limited to 'openbox/actions/reconfigure.c')
| -rw-r--r-- | openbox/actions/reconfigure.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openbox/actions/reconfigure.c b/openbox/actions/reconfigure.c new file mode 100644 index 00000000..8802a37b --- /dev/null +++ b/openbox/actions/reconfigure.c @@ -0,0 +1,20 @@ +#include "openbox/actions.h" +#include "openbox/openbox.h" + +static gboolean run_func(ObActionsData *data, gpointer options); + +void action_reconfigure_startup() +{ + actions_register("Reconfigure", + NULL, NULL, + run_func, + NULL, NULL); +} + +/* Always return FALSE because its not interactive */ +static gboolean run_func(ObActionsData *data, gpointer options) +{ + ob_reconfigure(); + + return FALSE; +} |
