Ticket #3493: 3493-Menu-selector-make-User-not-Local-the-focused-button.patch

File 3493-Menu-selector-make-User-not-Local-the-focused-button.patch, 909 bytes (added by mooffie, 9 years ago)
  • src/filemanager/cmd.c

    From 1e5cbb159a233c4ebca9e257b994aec7326bcb37 Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Wed, 1 Jul 2015 20:37:42 +0300
    Subject: [PATCH] Menu selector: make "User", not "Local", the focused button.
    
    On the menu selector two buttons are shown. Users are more likely to
    want to edit their central user menu, so we move the focus there.
    ---
     src/filemanager/cmd.c | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/src/filemanager/cmd.c b/src/filemanager/cmd.c
    index d824c3f..7a8fa8b 100644
    a b edit_mc_menu_cmd (void) 
    10111011    vfs_path_t *menufile_vpath; 
    10121012    int dir = 0; 
    10131013 
     1014    query_set_sel (1); 
    10141015    dir = query_dialog (_("Menu edit"), 
    10151016                        _("Which menu file do you want to edit?"), 
    10161017                        D_NORMAL, geteuid ()? 2 : 3, _("&Local"), _("&User"), _("&System Wide"));