forked from enlightenment/enlightenment
e/actions: remove ugly '{Move,Resize} with keyboard".
Use the regular 'Move' or 'Resize' actions, define go_key. SVN revision: 36135
This commit is contained in:
parent
51cefe3402
commit
a0fa5ad51e
|
@ -123,7 +123,7 @@ ACT_FN_END_MOUSE(window_move)
|
|||
e_border_act_move_end((E_Border *)obj, ev);
|
||||
}
|
||||
|
||||
ACT_FN_GO(window_move_keyboard)
|
||||
ACT_FN_GO_KEY(window_move)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_border_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -187,7 +187,7 @@ ACT_FN_END_MOUSE(window_resize)
|
|||
e_border_act_resize_end((E_Border *)obj, ev);
|
||||
}
|
||||
|
||||
ACT_FN_GO(window_resize_keyboard)
|
||||
ACT_FN_GO_KEY(window_resize)
|
||||
{
|
||||
if (!obj) obj = E_OBJECT(e_border_focused_get());
|
||||
if (!obj) return;
|
||||
|
@ -2280,11 +2280,7 @@ e_actions_init(void)
|
|||
ACT_GO_SIGNAL(window_move);
|
||||
ACT_END(window_move);
|
||||
ACT_END_MOUSE(window_move);
|
||||
|
||||
ACT_GO(window_move_keyboard);
|
||||
e_action_predef_name_set(_("Window : Actions"), _("Move with Keyboard"),
|
||||
"window_move_keyboard", NULL, NULL, 0);
|
||||
|
||||
ACT_GO_KEY(window_move);
|
||||
|
||||
/* window_resize */
|
||||
ACT_GO(window_resize);
|
||||
|
@ -2295,10 +2291,7 @@ e_actions_init(void)
|
|||
ACT_GO_SIGNAL(window_resize);
|
||||
ACT_END(window_resize);
|
||||
ACT_END_MOUSE(window_resize);
|
||||
|
||||
ACT_GO(window_resize_keyboard);
|
||||
e_action_predef_name_set(_("Window : Actions"), _("Resize with Keyboard"),
|
||||
"window_resize_keyboard", NULL, NULL, 0);
|
||||
ACT_GO_KEY(window_resize);
|
||||
|
||||
/* window_menu */
|
||||
ACT_GO(window_menu);
|
||||
|
|
Loading…
Reference in New Issue