diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2005-03-22 07:28:36 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2005-03-22 07:28:36 +0300 |
commit | a4b5ddb371e4854a7f33300baa38bea59b3961b9 (patch) | |
tree | 68d5a47a054da81930cbde8e7a07db2ebd70a12c /source/blender/src/header_script.c | |
parent | a8a73e80970c3e6cfbc88050099bd6119287f94d (diff) |
BPython:
-- Stephane Soppera (thanks) reported libc stat function fails for paths ending with "\" under win with free VC++ compiler toolkit 2003:
removed final '/' (BLI_make_file_string changes the '/' to '\\\\' for win) slashes from relevant paths, that should take care of it . Note: here (linux, glibc, gcc 3.3.3) stat doesn't have this problem. Also checking if U.pythondir ends with a slash and, if so (as long as its length > 2 to), removing the slash, for the same reason.
-- small cosmetic changes in BPY_menus.c for debug msgs and in header_scripts (added a separator in the Scripts win -> Scripts menu).
Diffstat (limited to 'source/blender/src/header_script.c')
-rw-r--r-- | source/blender/src/header_script.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/header_script.c b/source/blender/src/header_script.c index fc6a0b45545..f29c8f848d7 100644 --- a/source/blender/src/header_script.c +++ b/source/blender/src/header_script.c @@ -138,6 +138,8 @@ static uiBlock *script_scriptsmenu(void *arg_unused) uiDefIconTextBlockBut(block, script_scripts_submenus, (void *)i, ICON_RIGHTARROW_THIN, BPyMenu_group_itoa(i), 0, yco-=20, menuwidth, 19, ""); } + uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Update Menus", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 0, "Use when a scripts folder or its contents are modified"); if(curarea->headertype==HEADERTOP) { |