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:
authorJoilnen Leite <joilnen.leite@gmail.com>2005-09-26 20:21:22 +0400
committerJoilnen Leite <joilnen.leite@gmail.com>2005-09-26 20:21:22 +0400
commitd8863a98418079fc152b4854c45cb3a2a0f3645f (patch)
tree2b1510465be541ad8decdc99b7aca2a76ec6d277 /source/blender/src/header_filesel.c
parentb534d6bfb78c495efefdb4d831d1d15010b7fa8c (diff)
adding sort by extension in filselect window
.
Diffstat (limited to 'source/blender/src/header_filesel.c')
-rw-r--r--source/blender/src/header_filesel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/header_filesel.c b/source/blender/src/header_filesel.c
index c80527e5e22..4fefdc41a6e 100644
--- a/source/blender/src/header_filesel.c
+++ b/source/blender/src/header_filesel.c
@@ -116,6 +116,7 @@ void file_buttons(void)
xco+=XIC;
uiBlockBeginAlign(block);
uiDefIconButS(block, ROW, B_SORTFILELIST, ICON_SORTALPHA, xco+=XIC,0,XIC,YIC, &sfile->sort, 1.0, 0.0, 0, 0, "Sorts files alphabetically");
+ uiDefIconButS(block, ROW, B_SORTFILELIST, ICON_DOT, xco+=XIC,0,XIC,YIC, &sfile->sort, 1.0, 3.0, 0, 0, "Sorts files by extension");
uiDefIconButS(block, ROW, B_SORTFILELIST, ICON_SORTTIME, xco+=XIC,0,XIC,YIC, &sfile->sort, 1.0, 1.0, 0, 0, "Sorts files by time");
uiDefIconButS(block, ROW, B_SORTFILELIST, ICON_SORTSIZE, xco+=XIC,0,XIC,YIC, &sfile->sort, 1.0, 2.0, 0, 0, "Sorts files by size");
uiBlockEndAlign(block);