Ephoto: Add additional key bindings.

This commit is contained in:
Stephen okra Houston 2016-01-14 16:05:41 -06:00
parent 702148c09c
commit f89b553bd0
1 changed files with 11 additions and 0 deletions

View File

@ -2259,6 +2259,17 @@ _key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
{
_delete_image(sb, NULL, NULL);
}
else if (!strcmp(k, "s"))
{
if (!shift)
_save_image_as(sb, NULL, NULL);
else
_save_image(sb, NULL, NULL);
}
else if (!strcmp(k, "u"))
{
_reset_image(sb, NULL, NULL);
}
return;
}