Ticket #3157: mc-3157-sort-arrow.patch

File mc-3157-sort-arrow.patch, 7.3 KB (added by egmont, 11 years ago)
  • misc/skins/default.ini

    diff --git a/misc/skins/default.ini b/misc/skins/default.ini
    index adcdef5..1fdf6bf 100644
    a b  
    131131 
    132132[widget-common] 
    133133    sort-sign-up = ' 
    134     sort-sign-down = , 
     134    sort-sign-down = . 
    135135 
    136136[widget-panel] 
    137137    filename-scroll-left-char = { 
  • misc/skins/double-lines.ini

    diff --git a/misc/skins/double-lines.ini b/misc/skins/double-lines.ini
    index 690347e..63c7b60 100644
    a b  
    130130 
    131131[widget-common] 
    132132    sort-sign-up = ' 
    133     sort-sign-down = , 
     133    sort-sign-down = . 
    134134 
    135135[widget-panel] 
    136136    filename-scroll-left-char = { 
  • misc/skins/featured.ini

    diff --git a/misc/skins/featured.ini b/misc/skins/featured.ini
    index 09957c3..1ceaa9d 100644
    a b  
    131131    menutitle=white;cyan 
    132132 
    133133[widget-common] 
    134     sort-sign-up =  
    135     sort-sign-down =  
     134    sort-sign-up =  
     135    sort-sign-down =  
    136136 
    137137[widget-panel] 
    138138    hiddenfiles-sign-show = ⋅ 
  • misc/skins/mc46.ini

    diff --git a/misc/skins/mc46.ini b/misc/skins/mc46.ini
    index c7c2576..8c76f96 100644
    a b  
    122122 
    123123[widget-common] 
    124124        sort-sign-up = ' 
    125         sort-sign-down = , 
     125        sort-sign-down = . 
    126126 
    127127[widget-panel] 
    128128        filename-scroll-left-char = { 
  • misc/skins/modarcon16-defbg.ini

    diff --git a/misc/skins/modarcon16-defbg.ini b/misc/skins/modarcon16-defbg.ini
    index ec06e9b..6f92c08 100644
    a b  
    163163  error=color15;color1 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarcon16.ini

    diff --git a/misc/skins/modarcon16.ini b/misc/skins/modarcon16.ini
    index 6e9d061..b3b8609 100644
    a b  
    163163  error=color15;color1 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarcon16root-defbg.ini

    diff --git a/misc/skins/modarcon16root-defbg.ini b/misc/skins/modarcon16root-defbg.ini
    index 14b8b01..0fb51a1 100644
    a b  
    163163  error=color15;color1 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarcon16root.ini

    diff --git a/misc/skins/modarcon16root.ini b/misc/skins/modarcon16root.ini
    index 9acaeba..51c83a1 100644
    a b  
    163163  error=color15;color1 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarin256-defbg.ini

    diff --git a/misc/skins/modarin256-defbg.ini b/misc/skins/modarin256-defbg.ini
    index b3621cb..0c0e459 100644
    a b  
    163163  error=color231;color160 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarin256.ini

    diff --git a/misc/skins/modarin256.ini b/misc/skins/modarin256.ini
    index bae8118..7a348ad 100644
    a b  
    163163  error=color231;color160 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarin256root-defbg.ini

    diff --git a/misc/skins/modarin256root-defbg.ini b/misc/skins/modarin256root-defbg.ini
    index 9b510fb..07b55e1 100644
    a b  
    163163  error=color231;color160 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/modarin256root.ini

    diff --git a/misc/skins/modarin256root.ini b/misc/skins/modarin256root.ini
    index 6d6b5fd..c21f385 100644
    a b  
    163163  error=color231;color160 
    164164 
    165165[widget-common] 
    166   sort-sign-up= 
    167   sort-sign-down= 
     166  sort-sign-up= 
     167  sort-sign-down= 
    168168 
    169169[widget-panel] 
    170170  hiddenfiles-sign-show=• 
  • misc/skins/nicedark.ini

    diff --git a/misc/skins/nicedark.ini b/misc/skins/nicedark.ini
    index 6243e04..bccdb19 100644
    a b  
    129129    menutitle=lightgray;black 
    130130 
    131131[widget-common] 
    132     sort-sign-down=↑ 
    133     sort-sign-up=↓ 
     132    sort-sign-up=↑ 
     133    sort-sign-down=↓ 
    134134 
    135135[widget-panel] 
    136136    hiddenfiles-sign-show  = • 
  • misc/skins/sand256.ini

    diff --git a/misc/skins/sand256.ini b/misc/skins/sand256.ini
    index 7f2a55c..3454f51 100644
    a b  
    103103    _default_=rgb554;rgb320;bold 
    104104    errdfocus=black;rgb452;bold 
    105105    errdhotnormal=;;bold+underline 
    106     errdhotfocus=black;rgb452;bold+underline  
    107     errdtitle=;;bold+underline  
     106    errdhotfocus=black;rgb452;bold+underline 
     107    errdtitle=;;bold+underline 
    108108 
    109109[filehighlight] 
    110110    directory= 
     
    132132    menuinactive= 
    133133 
    134134[popupmenu] 
    135     _default_=black;rgb553  
     135    _default_=black;rgb553 
    136136    menusel=;rgb452;underline 
    137137    menutitle=;;underline 
    138138 
     
    179179    error=rgb554;rgb320 
    180180 
    181181[widget-common] 
    182     sort-sign-up =  
    183     sort-sign-down =  
     182    sort-sign-up =  
     183    sort-sign-down =  
    184184 
    185185[widget-panel] 
    186186    hiddenfiles-sign-show = • 
  • misc/skins/xoria256.ini

    diff --git a/misc/skins/xoria256.ini b/misc/skins/xoria256.ini
    index e4f68dd..309833d 100644
    a b  
    170170    error=rgb554;rgb320 
    171171 
    172172[widget-common] 
    173     sort-sign-up =  
    174     sort-sign-down =  
     173    sort-sign-up =  
     174    sort-sign-down =  
    175175 
    176176[widget-panel] 
    177177    hiddenfiles-sign-show = • 
  • src/filemanager/panel.c

    diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c
    index cc9479b..45e4759 100644
    a b panel_paint_sort_info (WPanel * panel) 
    15071507    if (*panel->sort_field->hotkey != '\0') 
    15081508    { 
    15091509        const char *sort_sign = 
    1510             panel->sort_info.reverse ? panel_sort_down_sign : panel_sort_up_sign; 
     1510            panel->sort_info.reverse ? panel_sort_up_sign : panel_sort_down_sign; 
    15111511        char *str; 
    15121512 
    15131513        str = g_strdup_printf ("%s%s", sort_sign, Q_ (panel->sort_field->hotkey)); 
    paint_frame (WPanel * panel) 
    15821582                    && strcmp (format->id, panel->sort_field->id) == 0) 
    15831583                    g_string_append (format_txt, 
    15841584                                     panel->sort_info.reverse 
    1585                                      ? panel_sort_down_sign : panel_sort_up_sign); 
     1585                                     ? panel_sort_up_sign : panel_sort_down_sign); 
    15861586 
    15871587                g_string_append (format_txt, format->title); 
    15881588                if (strcmp (format->id, "name") == 0 && panel->filter && *panel->filter) 
    void 
    47584758panel_init (void) 
    47594759{ 
    47604760    panel_sort_up_sign = mc_skin_get ("widget-common", "sort-sign-up", "'"); 
    4761     panel_sort_down_sign = mc_skin_get ("widget-common", "sort-sign-down", ","); 
     4761    panel_sort_down_sign = mc_skin_get ("widget-common", "sort-sign-down", "."); 
    47624762 
    47634763    panel_hiddenfiles_sign_show = mc_skin_get ("widget-panel", "hiddenfiles-sign-show", "."); 
    47644764    panel_hiddenfiles_sign_hide = mc_skin_get ("widget-panel", "hiddenfiles-sign-hide", ".");