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:
authorTon Roosendaal <ton@blender.org>2004-11-12 02:58:05 +0300
committerTon Roosendaal <ton@blender.org>2004-11-12 02:58:05 +0300
commitcfd5d0267ee3db010e9292eb06d95568448d8baa (patch)
treec10002d472bb41d3ee66a47fdc635eb2fbb9e515 /source/blender/src/header_script.c
parent1c632c40c01d4c0ac88828b7353d9040684e16d4 (diff)
Cosmetic change; nice Icon for Python! :)
Used the one from python.org (favicon). It displays now as icon for pulldown menus and script space.
Diffstat (limited to 'source/blender/src/header_script.c')
-rw-r--r--source/blender/src/header_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_script.c b/source/blender/src/header_script.c
index 345636fe2ce..7a6b04e320c 100644
--- a/source/blender/src/header_script.c
+++ b/source/blender/src/header_script.c
@@ -102,7 +102,7 @@ static uiBlock *script_scripts_submenus(void *int_menutype)
uiBlockSetButmFunc(block, do_scripts_submenus, int_menutype);
for (pym = BPyMenuTable[menutype]; pym; pym = pym->next, i++) {
- uiDefBut(block, BUTM, 1, pym->name, 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, i, pym->tooltip?pym->tooltip:pym->filename);
+ uiDefIconTextBut(block, BUTM, 1, ICON_PYTHON, pym->name, 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, i, pym->tooltip?pym->tooltip:pym->filename);
}
uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");