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:
authorAndrea Weikert <elubie@gmx.net>2009-07-26 22:52:27 +0400
committerAndrea Weikert <elubie@gmx.net>2009-07-26 22:52:27 +0400
commitcbb9dfaab80ed52950a4ea4c1570370eddacfa64 (patch)
tree3df161c74b8d43634bfb032f2ada65d6496b3cad /release
parent4741137fc9639a3902a0a7bbbebb7256841ac027 (diff)
2.5 file browser
* operator for create new directory activated (IKEY) * operator for rename (works on files and directories so far) (CTRL+LMB) Note: fail to rename is rather quiet, no message popup, just doesn't rename if it can't. So far checked that (On Windows Vista) rename fails on system directories, which I think acceptable. Note: I removed the code that (silently) deletes file if I rename file to an existing one. Considered harmful :)
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_filebrowser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/ui/space_filebrowser.py b/release/ui/space_filebrowser.py
index 9a235516c9d..2d35616069c 100644
--- a/release/ui/space_filebrowser.py
+++ b/release/ui/space_filebrowser.py
@@ -48,6 +48,7 @@ class FILEBROWSER_MT_directory(bpy.types.Menu):
def draw(self, context):
layout = self.layout
+ layout.itemO("file.directory_new", text="New Directory", icon='ICON_NEWFOLDER')
layout.itemO("file.refresh", text="Refresh", icon='ICON_FILE_REFRESH')
layout.itemO("file.parent", text="Parent", icon='ICON_FILE_PARENT')