Ticket #3493: 3493-everything.patch

File 3493-everything.patch, 1.4 KB (added by mooffie, 9 years ago)
  • src/editor/editcmd.c

    From 6e2a0693206573b081a79b9dd37c1ab59273549d Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Wed, 1 Jul 2015 20:37:42 +0300
    Subject: [PATCH] Ticket #3493: menu selectors: make "User", not "Local", the
     focused button.
    
    On menu selectors two buttons are shown. Users are more likely to
    want to edit their central user menu, so we move the focus there.
    ---
     src/editor/editcmd.c  | 1 +
     src/filemanager/cmd.c | 1 +
     2 files changed, 2 insertions(+)
    
    diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c
    index ea9f49f..a2f2252 100644
    a b edit_load_menu_file (WDialog * h) 
    21702170    int dir; 
    21712171    gboolean ret; 
    21722172 
     2173    query_set_sel (1); 
    21732174    dir = query_dialog (_("Menu edit"), 
    21742175                        _("Which menu file do you want to edit?"), D_NORMAL, 
    21752176                        geteuid () != 0 ? 2 : 3, _("&Local"), _("&User"), _("&System wide")); 
  • src/filemanager/cmd.c

    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"));