keyboard shortcuts: ^X, ^C and ^V now works.

http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39027
This commit is contained in:
Gustavo Sverzut Barbieri 2009-02-15 14:50:30 +00:00
parent 68461812b1
commit 73ed3f89b3
1 changed files with 20 additions and 0 deletions

View File

@ -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 */