[easytag/wip/unstable] Update the file property sort order automatically



commit ceea75b615f2ec09e715670ec9e9633dd6261aa8
Author: DarshanMn <darshan trin gmail com>
Date:   Tue Apr 23 17:48:06 2013 +0530

    Update the file property sort order automatically
    
    When the sort order is selected in the file menu, and is a property of
    the file (rather than a tag property), the file list sort order is not
    automatically updated.
    
    This patch makes the file list sort automatically after setting the sort
    order in the file menu. Fixes bug 698378.

 src/bar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/bar.c b/src/bar.c
index cb5582d..e6d18a6 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -113,6 +113,7 @@ Menu_Sort_Action (GtkAction *item, gpointer data)
     QCASE_DATA(AM_SORT_ASCENDING_FILE_SAMPLERATE,  ET_Sort_Displayed_File_List_And_Update_UI, 
SORTING_BY_ASCENDING_FILE_SAMPLERATE);
     QCASE_DATA(AM_SORT_DESCENDING_FILE_SAMPLERATE, ET_Sort_Displayed_File_List_And_Update_UI, 
SORTING_BY_DESCENDING_FILE_SAMPLERATE);
     QCASE_DATA(AM_INITIALIZE_TREE,                 Browser_Tree_Rebuild,                      NULL);
+    Browser_List_Refresh_Sort ();
 }
 
 void Create_UI (GtkWidget **ppmenubar, GtkWidget **pptoolbar)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]