[Bf-blender-cvs] [f660d71] blender-v2.72-release: OSX: Change the FS_CATEGORY_SYSTEM_BOOKMARKS aka "Favorites", so that the orderwise in sync with finder
Jens Verwiebe
noreply at git.blender.org
Wed Oct 15 13:07:38 CEST 2014
Commit: f660d7187bbaa1dbec252a81af5e27c488a3efd4
Author: Jens Verwiebe
Date: Fri Oct 3 21:01:48 2014 +0200
Branches: blender-v2.72-release
https://developer.blender.org/rBf660d7187bbaa1dbec252a81af5e27c488a3efd4
OSX: Change the FS_CATEGORY_SYSTEM_BOOKMARKS aka "Favorites", so that the orderwise in sync with finder
===================================================================
M source/blender/editors/space_file/fsmenu.c
M source/blender/editors/space_file/fsmenu.h
===================================================================
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index d049a45..bfbe61d 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -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);
diff --git a/source/blender/editors/space_file/fsmenu.h b/source/blender/editors/space_file/fsmenu.h
index 01bd4e9..ce49455 100644
--- a/source/blender/editors/space_file/fsmenu.h
+++ b/source/blender/editors/space_file/fsmenu.h
@@ -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;
More information about the Bf-blender-cvs
mailing list