Ticket #3716: 3716-various-checkboxes-not-responding.patch

File 3716-various-checkboxes-not-responding.patch, 2.2 KB (added by mooffie, 2 years ago)
  • src/filemanager/boxes.c

    From 02ec47e3732c4b00d6f1e225d0e0036675f1b3d8 Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Sun, 6 Nov 2016 05:21:23 +0200
    Subject: [PATCH] Ticket #3716: various checkboxes not responding.
    
    ---
     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 62d8012..39e43de 100644
    a b configure_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, voi 
    130130    { 
    131131    case MSG_NOTIFY: 
    132132        /* message from "Single press" checkbutton */ 
    133         if (sender != NULL && sender->id == configure_old_esc_mode_id && parm == (int) MSG_FOCUS) 
     133        if (sender != NULL && sender->id == configure_old_esc_mode_id && parm == (int) MSG_KEY) 
    134134        { 
    135135            const gboolean not_single = !(CHECK (sender)->state & C_BOOL); 
    136136            Widget *ww; 
    panel_listing_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, 
    251251    switch (msg) 
    252252    { 
    253253    case MSG_NOTIFY: 
    254         if (sender != NULL && sender->id == panel_listing_types_id && parm == (int) MSG_FOCUS) 
     254        if (sender != NULL && sender->id == panel_listing_types_id && parm == (int) MSG_KEY) 
    255255        { 
    256256            WCheck *ch; 
    257257            WInput *in1, *in2, *in3; 
    panel_listing_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, 
    271271            return MSG_HANDLED; 
    272272        } 
    273273 
    274         if (sender != NULL && sender->id == mini_user_status_id && parm == (int) MSG_FOCUS) 
     274        if (sender != NULL && sender->id == mini_user_status_id && parm == (int) MSG_KEY) 
    275275        { 
    276276            WInput *in; 
    277277 
    confvfs_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void 
    373373    { 
    374374    case MSG_NOTIFY: 
    375375        /* message from "Always use ftp proxy" checkbutton */ 
    376         if (sender != NULL && sender->id == ftpfs_always_use_proxy_id && parm == (int) MSG_FOCUS) 
     376        if (sender != NULL && sender->id == ftpfs_always_use_proxy_id && parm == (int) MSG_KEY) 
    377377        { 
    378378            const gboolean not_use = !(CHECK (sender)->state & C_BOOL); 
    379379            Widget *wi;