[Commits] [SCM] claws branch, master, updated. 3.17.2-9-gc120bdc
ticho at claws-mail.org
ticho at claws-mail.org
Mon Dec 17 20:27:40 CET 2018
The branch, master has been updated
via c120bdcd44aad8d270d7f46d66293d6c5a8c0029 (commit)
from 0671d7234e7e0ce5a35fa7ae29d235fe21e103bb (commit)
Summary of changes:
src/ssl_manager.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit c120bdcd44aad8d270d7f46d66293d6c5a8c0029
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Mon Dec 17 20:26:48 2018 +0100
Make Delete key in TLS certificate manager delete selected certificate.
diff --git a/src/ssl_manager.c b/src/ssl_manager.c
index a51b016..495edf7 100644
--- a/src/ssl_manager.c
+++ b/src/ssl_manager.c
@@ -414,8 +414,14 @@ static void ssl_manager_close_cb(GtkWidget *widget,
static gboolean key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data)
{
- if (event && event->keyval == GDK_KEY_Escape)
+ if (!event)
+ return FALSE;
+
+ if (event->keyval == GDK_KEY_Escape)
ssl_manager_close();
+ else if (event->keyval == GDK_KEY_Delete)
+ ssl_manager_delete_cb(manager.delete_btn, NULL);
+
return FALSE;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list