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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-07 17:20:41 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-07 17:20:41 +0400
commit1c9079d6e1ea8912a5b5901026e6f4446dea0527 (patch)
tree0a9fe3be6b9854f88b1a4ec9e69f3eb58e4a4460 /release/ui
parentc1135d489bf7c41b2e081b593bac08e62bf980a3 (diff)
UI:
* layout.split() now takes a percentage argument to control the split position. * ID template now works for more than just the Text ID type, includes and icon, and some other fixes.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/space_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/ui/space_text.py b/release/ui/space_text.py
index d4187c10b69..5c6c5c0d21b 100644
--- a/release/ui/space_text.py
+++ b/release/ui/space_text.py
@@ -38,7 +38,7 @@ class TEXT_HT_header(bpy.types.Header):
row.itemR(st, "syntax_highlight", text="", icon=ICON_SYNTAX_OFF)
# row.itemR(st, "do_python_plugins", text="", icon=ICON_SCRIPTPLUGINS)
- layout.template_header_ID(context, st, "text", new="TEXT_OT_new", open="TEXT_OT_open", unlink="TEXT_OT_unlink")
+ layout.template_ID(context, st, "text", new="TEXT_OT_new", open="TEXT_OT_open", unlink="TEXT_OT_unlink")
if text:
row = layout.row()