keyboard shortcuts: ^X, ^C and ^V now works.
http://trac.enlightenment.org/e/wiki/Release SVN revision: 39027
This commit is contained in:
parent
68461812b1
commit
73ed3f89b3
|
@ -5547,6 +5547,26 @@ _e_fm2_cb_key_down(void *data, Evas *e, Evas_Object *obj, void *event_info)
|
|||
|
||||
sd = data;
|
||||
ev = event_info;
|
||||
|
||||
if (evas_key_modifier_is_set(ev->modifiers, "Control"))
|
||||
{
|
||||
if (!strcmp(ev->keyname, "x"))
|
||||
{
|
||||
_e_fm2_file_cut(sd, NULL, NULL);
|
||||
return;
|
||||
}
|
||||
else if (!strcmp(ev->keyname, "c"))
|
||||
{
|
||||
_e_fm2_file_copy(sd, NULL, NULL);
|
||||
return;
|
||||
}
|
||||
else if (!strcmp(ev->keyname, "v"))
|
||||
{
|
||||
_e_fm2_file_paste(sd, NULL, NULL);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!strcmp(ev->keyname, "Left"))
|
||||
{
|
||||
/* FIXME: icon mode, typebuf extras */
|
||||
|
|
Loading…
Reference in New Issue