Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/fsmenu.c
| Context not available. | |||||
| BLI_add_slash(line); | BLI_add_slash(line); | ||||
| /* Exclude "all my files" as it makes no sense in blender fileselector */ | /* Exclude "all my files" as it makes no sense in blender fileselector */ | ||||
| /* Exclude "airdrop" if wlan not active as it would show "" ) */ | /* Exclude "airdrop" if wlan not active as it would show "/" ) */ | ||||
| if (!strstr(line, "myDocuments.cannedSearch") && (*line != '\0')) { | if (!strstr(line, "myDocuments.cannedSearch") && strcmp(line, "/")) { | ||||
| fsmenu_insert_entry( | fsmenu_insert_entry( | ||||
| fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL, ICON_FILE_FOLDER, FS_INSERT_LAST); | fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL, ICON_FILE_FOLDER, FS_INSERT_LAST); | ||||
| } | } | ||||
| Context not available. | |||||