From b4d5ed514d1d65964ced22e13e2894c54cc2865b Mon Sep 17 00:00:00 2001 From: Mooffie Date: Sun, 6 Nov 2016 05:21:23 +0200 Subject: [PATCH] Ticket #3716: various checkboxes not responding. Signed-off-by: Andrew Borodin --- src/filemanager/boxes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/filemanager/boxes.c b/src/filemanager/boxes.c index 4b451cf07..07648772a 100644 --- a/src/filemanager/boxes.c +++ b/src/filemanager/boxes.c @@ -130,7 +130,7 @@ configure_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, voi { case MSG_NOTIFY: /* message from "Single press" checkbutton */ - if (sender != NULL && sender->id == configure_old_esc_mode_id && parm == (int) MSG_FOCUS) + if (sender != NULL && sender->id == configure_old_esc_mode_id && parm == (int) MSG_KEY) { const gboolean not_single = !(CHECK (sender)->state & C_BOOL); Widget *ww; @@ -279,7 +279,7 @@ panel_listing_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, switch (msg) { case MSG_NOTIFY: - if (sender != NULL && sender->id == panel_listing_types_id && parm == (int) MSG_FOCUS) + if (sender != NULL && sender->id == panel_listing_types_id && parm == (int) MSG_KEY) { WCheck *ch; WInput *in1, *in2, *in3; @@ -299,7 +299,7 @@ panel_listing_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, return MSG_HANDLED; } - if (sender != NULL && sender->id == mini_user_status_id && parm == (int) MSG_FOCUS) + if (sender != NULL && sender->id == mini_user_status_id && parm == (int) MSG_KEY) { WInput *in; @@ -401,7 +401,7 @@ confvfs_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void { case MSG_NOTIFY: /* message from "Always use ftp proxy" checkbutton */ - if (sender != NULL && sender->id == ftpfs_always_use_proxy_id && parm == (int) MSG_FOCUS) + if (sender != NULL && sender->id == ftpfs_always_use_proxy_id && parm == (int) MSG_KEY) { const gboolean not_use = !(CHECK (sender)->state & C_BOOL); Widget *wi;