This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efm2.
View the commit online.
commit f4b98958b588f14b54d1736756e7874c8bce61c8
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Mon May 26 21:17:24 2025 +0100
add ctl+del for force del and ctl+a for sel all
---
src/efm/efm.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/efm/efm.c b/src/efm/efm.c
index 94c9edb..25c229a 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -259,9 +259,14 @@ _cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
if (strbuf)
{
+ const char *cmd = "file-trash";
+
+ if (evas_key_modifier_is_set(ev->modifiers, "Shift"))
+ cmd = "file-unlink";
+
if (_selected_icons_uri_strbuf_append(sd, strbuf))
{
- Eina_Strbuf *buf = cmd_strbuf_new("file-trash");
+ Eina_Strbuf *buf = cmd_strbuf_new(cmd);
_file_list_cmd_strbuf_append(buf, "path",
eina_strbuf_string_get(strbuf));
@@ -313,6 +318,12 @@ _cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
_cnp_paste_files(sd);
handled = EINA_TRUE;
}
+ else if ((!strcmp(ev->key, "a"))
+ && (evas_key_modifier_is_set(ev->modifiers, "Control")))
+ {
+ _efm_sel_all(sd);
+ handled = EINA_TRUE;
+ }
else if ((!strcmp(ev->key, "Insert"))
&& (evas_key_modifier_is_set(ev->modifiers, "Shift")))
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.