[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23853] trunk/blender/release/scripts/ui/ space_userpref.py: Fixed some icons in user preferences.

William Reynish william at reynish.com
Thu Oct 15 09:07:01 CEST 2009


Revision: 23853
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23853
Author:   billrey
Date:     2009-10-15 09:07:01 +0200 (Thu, 15 Oct 2009)

Log Message:
-----------
Fixed some icons in user preferences. These seem to be caused to an issue in the icon file itself though, where it assumes the wrong icon when pressed. (See checkboxes in menus that become locks when enabled)

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/space_userpref.py

Modified: trunk/blender/release/scripts/ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/ui/space_userpref.py	2009-10-15 03:32:53 UTC (rev 23852)
+++ trunk/blender/release/scripts/ui/space_userpref.py	2009-10-15 07:07:01 UTC (rev 23853)
@@ -469,13 +469,13 @@
 			row = subcol.row()
 
 			if kmi.expanded:
-				row.itemR(kmi, "expanded", text="", icon="ICON_TRIA_DOWN")
+				row.itemR(kmi, "expanded", text="", icon="ICON_TRIA_RIGHT")
 			else:
 				row.itemR(kmi, "expanded", text="", icon="ICON_TRIA_RIGHT")
 
 			itemrow = row.row()
 			itemrow.enabled = km.user_defined
-			itemrow.itemR(kmi, "active", text="", icon="ICON_DOT")
+			itemrow.itemR(kmi, "active", text="", icon="ICON_CHECKBOX_DEHLT")
 
 			itemcol = itemrow.column()
 			itemcol.active = kmi.active
@@ -519,7 +519,7 @@
 					subrow.itemR(kmi, "shift")
 					subrow.itemR(kmi, "ctrl")
 					subrow.itemR(kmi, "alt")
-					subrow.itemR(kmi, "oskey")
+					subrow.itemR(kmi, "oskey", text="Cmd")
 					sub.itemR(kmi, "key_modifier", text="", event=True)
 
 				flow = itemcol.column_flow(columns=2)





More information about the Bf-blender-cvs mailing list