OSX: Change the FS_CATEGORY_SYSTEM_BOOKMARKS aka "Favorites", so that the orderwise...
authorJens Verwiebe <info@jensverwiebe.de>
Fri, 3 Oct 2014 19:01:48 +0000 (21:01 +0200)
committerJens Verwiebe <info@jensverwiebe.de>
Fri, 3 Oct 2014 19:01:59 +0000 (21:01 +0200)
source/blender/editors/space_file/fsmenu.c
source/blender/editors/space_file/fsmenu.h

index d049a45fd90dd0d352ac296a15f64b775895274b..bfbe61dc93e95b16b956bc2fd275ff8fc33aa63e 100644 (file)
@@ -443,7 +443,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
                                
                                if (pathString == NULL || !CFStringGetCString(pathString, line, sizeof(line), kCFStringEncodingASCII))
                                        continue;
-                               fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, FS_INSERT_SORTED);
+                               fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, FS_INSERT_LAST);
                                
                                CFRelease(pathString);
                                CFRelease(cfURL);
index 01bd4e95afae88e289f94c85ca3a284b3d51525c..ce494554970419bde3698c68be2cc3bbed954b09 100644 (file)
@@ -47,7 +47,8 @@ typedef enum FSMenuCategory {
 typedef enum FSMenuInsert {
        FS_INSERT_SORTED = (1 << 0),
        FS_INSERT_SAVE   = (1 << 1),
-       FS_INSERT_FIRST  = (1 << 2)   /* moves the item to the front of the list when its not already there */
+       FS_INSERT_FIRST  = (1 << 2),   /* moves the item to the front of the list when its not already there */
+       FS_INSERT_LAST  = (1 << 3)   /* moves the item to the end of the list when its not already there */
 } FSMenuInsert;
 
 struct FSMenu;