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_view3d.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_view3d.c')
-rw-r--r--source/blender/src/header_view3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c
index d92d4a778e0..58c909a68d1 100644
--- a/source/blender/src/header_view3d.c
+++ b/source/blender/src/header_view3d.c
@@ -1655,7 +1655,7 @@ static uiBlock *view3d_edit_object_scriptsmenu(void *arg_unused)
uiBlockSetButmFunc(block, do_view3d_edit_object_scriptsmenu, NULL);
for (pym = BPyMenuTable[PYMENU_OBJECT]; pym; pym = pym->next, i++) {
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, 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);
}
uiBlockSetDirection(block, UI_RIGHT);
@@ -2157,7 +2157,7 @@ static uiBlock *view3d_edit_mesh_scriptsmenu(void *arg_unused)
uiBlockSetButmFunc(block, do_view3d_edit_mesh_scriptsmenu, NULL);
for (pym = BPyMenuTable[PYMENU_MESH]; pym; pym = pym->next, i++) {
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, 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);
}
uiBlockSetDirection(block, UI_RIGHT);