[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25724] trunk/blender/source/blender/ editors: Fix for some confusing terminology: Window type -> Editor type

Matt Ebb matt at mke3.net
Tue Jan 5 01:45:06 CET 2010


Revision: 25724
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25724
Author:   broken
Date:     2010-01-05 01:45:05 +0100 (Tue, 05 Jan 2010)

Log Message:
-----------
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)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/screen/area.c
    trunk/blender/source/blender/editors/space_buttons/buttons_header.c

Modified: trunk/blender/source/blender/editors/screen/area.c
===================================================================
--- trunk/blender/source/blender/editors/screen/area.c	2010-01-04 22:41:21 UTC (rev 25723)
+++ trunk/blender/source/blender/editors/screen/area.c	2010-01-05 00:45:05 UTC (rev 25724)
@@ -1107,10 +1107,10 @@
 	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 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);
 	

Modified: trunk/blender/source/blender/editors/space_buttons/buttons_header.c
===================================================================
--- trunk/blender/source/blender/editors/space_buttons/buttons_header.c	2010-01-04 22:41:21 UTC (rev 25723)
+++ trunk/blender/source/blender/editors/space_buttons/buttons_header.c	2010-01-05 00:45:05 UTC (rev 25724)
@@ -67,7 +67,7 @@
 {
 	SpaceButs *sbuts= CTX_wm_space_buts(C);
 
-	if(!sbuts) /* window type switch */
+	if(!sbuts) /* editor type switch */
 		return;
 
 	switch(event) {





More information about the Bf-blender-cvs mailing list