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:
authorMatt Ebb <matt@mke3.net>2010-01-05 03:45:05 +0300
committerMatt Ebb <matt@mke3.net>2010-01-05 03:45:05 +0300
commit665011e4103d10c205aaf459ca168a20c2410448 (patch)
tree9913508eb9ce5f84582ea4b1251c98720eddf1ff
parentc95ad12dac094eef86b41faf0bf495a12124069a (diff)
Fix for some confusing terminology: Window type -> Editor type
Correct hierarchy of terminology should be: * Window (OS level window with borders) * Area (top level subdivision in Blender UI), containing an * Editor (actual UI functionality such as 3D View, Properties) * Region (subdivision of an area, i.e. a header, a properties panel or toolbar)
-rw-r--r--source/blender/editors/screen/area.c8
-rw-r--r--source/blender/editors/space_buttons/buttons_header.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index d9d76e963a3..c494afac79e 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1107,10 +1107,10 @@ void ED_area_prevspace(bContext *C, ScrArea *sa)
ED_area_tag_redraw(sa);
}
-static char *windowtype_pup(void)
+static char *editortype_pup(void)
{
return(
- "Window type:%t"
+ "Editor type:%t"
"|3D View %x1"
"|%l"
@@ -1160,9 +1160,9 @@ int ED_area_header_switchbutton(const bContext *C, uiBlock *block, int yco)
int xco= 8;
but= uiDefIconTextButC(block, ICONTEXTROW, 0, ICON_VIEW3D,
- windowtype_pup(), xco, yco, XIC+10, YIC,
+ editortype_pup(), xco, yco, XIC+10, YIC,
&(sa->butspacetype), 1.0, SPACEICONMAX, 0, 0,
- "Displays Current Window Type. "
+ "Displays Current Editor Type. "
"Click for menu of available types.");
uiButSetFunc(but, spacefunc, NULL, NULL);
diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c
index 0fb7ea9283c..c9df1f76dd9 100644
--- a/source/blender/editors/space_buttons/buttons_header.c
+++ b/source/blender/editors/space_buttons/buttons_header.c
@@ -67,7 +67,7 @@ static void do_buttons_buttons(bContext *C, void *arg, int event)
{
SpaceButs *sbuts= CTX_wm_space_buts(C);
- if(!sbuts) /* window type switch */
+ if(!sbuts) /* editor type switch */
return;
switch(event) {