|
|
|
@ -4077,62 +4077,62 @@ e_modapi_init(E_Module *m) |
|
|
|
|
const char *_name = _value; \
|
|
|
|
|
if ((_action = e_action_add(_name))) { \
|
|
|
|
|
_action->func.go = _cb; \
|
|
|
|
|
e_action_predef_name_set(_("Tiling"), _(_title), _name, \
|
|
|
|
|
e_action_predef_name_set(N_("Tiling"), _title, _name, \
|
|
|
|
|
_params, _example, _editable); \
|
|
|
|
|
} \
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Module's actions */ |
|
|
|
|
ACTION_ADD(_G.act_togglefloat, _e_mod_action_toggle_floating_cb, |
|
|
|
|
"Toggle floating", "toggle_floating", |
|
|
|
|
N_("Toggle floating"), "toggle_floating", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_addstack, _e_mod_action_add_stack_cb, |
|
|
|
|
"Add a stack", "add_stack", |
|
|
|
|
N_("Add a stack"), "add_stack", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_removestack, _e_mod_action_remove_stack_cb, |
|
|
|
|
"Remove a stack", "remove_stack", |
|
|
|
|
N_("Remove a stack"), "remove_stack", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_tg_stack, _e_mod_action_tg_stack_cb, |
|
|
|
|
"Toggle between rows and columns", "tg_cols_rows", |
|
|
|
|
N_("Toggle between rows and columns"), "tg_cols_rows", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_swap, _e_mod_action_swap_cb, |
|
|
|
|
"Swap a window with an other", "swap", |
|
|
|
|
N_("Swap a window with an other"), "swap", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
|
|
|
|
|
ACTION_ADD(_G.act_move, _e_mod_action_move_cb, |
|
|
|
|
"Move window", "move", |
|
|
|
|
N_("Move window"), "move", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_move_left, _e_mod_action_move_direct_cb, |
|
|
|
|
"Move window to the left", "move_left", |
|
|
|
|
N_("Move window to the left"), "move_left", |
|
|
|
|
"left", NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_move_right, _e_mod_action_move_direct_cb, |
|
|
|
|
"Move window to the right", "move_right", |
|
|
|
|
N_("Move window to the right"), "move_right", |
|
|
|
|
"right", NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_move_up, _e_mod_action_move_direct_cb, |
|
|
|
|
"Move window up", "move_up", |
|
|
|
|
N_("Move window up"), "move_up", |
|
|
|
|
"up", NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_move_down, _e_mod_action_move_direct_cb, |
|
|
|
|
"Move window down", "move_down", |
|
|
|
|
N_("Move window down"), "move_down", |
|
|
|
|
"down", NULL, 0); |
|
|
|
|
|
|
|
|
|
ACTION_ADD(_G.act_adjusttransitions, _e_mod_action_adjust_transitions, |
|
|
|
|
"Adjust transitions", "adjust_transitions", |
|
|
|
|
N_("Adjust transitions"), "adjust_transitions", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_go, _e_mod_action_go_cb, |
|
|
|
|
"Focus a particular window", "go", |
|
|
|
|
N_("Focus a particular window"), "go", |
|
|
|
|
NULL, NULL, 0); |
|
|
|
|
|
|
|
|
|
ACTION_ADD(_G.act_send_ne, _e_mod_action_send_cb, |
|
|
|
|
"Send to upper right corner", "send_ne", |
|
|
|
|
N_("Send to upper right corner"), "send_ne", |
|
|
|
|
"ne", NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_send_nw, _e_mod_action_send_cb, |
|
|
|
|
"Send to upper left corner", "send_nw", |
|
|
|
|
N_("Send to upper left corner"), "send_nw", |
|
|
|
|
"nw", NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_send_se, _e_mod_action_send_cb, |
|
|
|
|
"Send to lower right corner", "send_se", |
|
|
|
|
N_("Send to lower right corner"), "send_se", |
|
|
|
|
"se", NULL, 0); |
|
|
|
|
ACTION_ADD(_G.act_send_sw, _e_mod_action_send_cb, |
|
|
|
|
"Send to lower left corner", "send_sw", |
|
|
|
|
N_("Send to lower left corner"), "send_sw", |
|
|
|
|
"sw", NULL, 0); |
|
|
|
|
#undef ACTION_ADD |
|
|
|
|
|
|
|
|
@ -4279,7 +4279,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__) |
|
|
|
|
|
|
|
|
|
#define ACTION_DEL(act, title, value) \ |
|
|
|
|
if (act) { \
|
|
|
|
|
e_action_predef_name_del(_("Tiling"), _(title)); \
|
|
|
|
|
e_action_predef_name_del("Tiling", title); \
|
|
|
|
|
e_action_del(value); \
|
|
|
|
|
act = NULL; \
|
|
|
|
|
} |
|
|
|
|