Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2013-11-02 21:58:53 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-11-02 21:58:53 +0400
commit348addd7d2dff6bb2d898a1db014332311fa0dcc (patch)
treed9b1dde966dacf1a582f6c3bbddb38cbcbcbe713 /source/blender/editors/space_file/file_draw.c
parenta8a4431fcfbe9504742bf465d137bcd977288222 (diff)
OSX: give application bundles an own icon to better differentiate vs. folders
Diffstat (limited to 'source/blender/editors/space_file/file_draw.c')
-rw-r--r--source/blender/editors/space_file/file_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index 43df3be45ac..c4e6ca97418 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -251,6 +251,9 @@ static int get_file_icon(struct direntry *file)
if (strcmp(file->relname, "..") == 0) {
return ICON_FILE_PARENT;
}
+ if (file->flags & APPLICATIONBUNDLE) {
+ return ICON_UGLYPACKAGE;
+ }
if (file->flags & BLENDERFILE) {
return ICON_FILE_BLEND;
}