[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26238] trunk/blender/release/scripts/ui/ space_userpref.py: Added a 'linked' icon to modal key maps, to communicate better that they're

Matt Ebb matt at mke3.net
Mon Jan 25 08:19:29 CET 2010


Revision: 26238
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26238
Author:   broken
Date:     2010-01-25 08:19:28 +0100 (Mon, 25 Jan 2010)

Log Message:
-----------
Added a 'linked' icon to modal key maps, to communicate better that they're 
instantiated. Helps [#20778] [2.5 - r26180] "Gesture Border" items in user 
preferences panel are not unique

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	2010-01-25 07:05:02 UTC (rev 26237)
+++ trunk/blender/release/scripts/ui/space_userpref.py	2010-01-25 07:19:28 UTC (rev 26238)
@@ -1053,10 +1053,12 @@
         row = col.row()
         row.prop(km, "children_expanded", text="", no_bg=True)
         row.label(text=km.name)
-
+        
         row.label()
         row.label()
 
+        if km.modal:
+            row.label(text="", icon='LINKED')
         if km.user_defined:
             row.operator("wm.keymap_restore", text="Restore")
         else:





More information about the Bf-blender-cvs mailing list