[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46341] trunk/blender/release/scripts/ startup/bl_ui/space_text.py: Fix for [#31327] Text editor menu incorrect ( Patch attached)

Bastien Montagne montagne29 at wanadoo.fr
Sun May 6 09:59:38 CEST 2012


Revision: 46341
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46341
Author:   mont29
Date:     2012-05-06 07:59:37 +0000 (Sun, 06 May 2012)
Log Message:
-----------
Fix for [#31327] Text editor menu incorrect (Patch attached)

Patch by Justin Dailey, thx!

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_text.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_text.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_text.py	2012-05-06 06:59:01 UTC (rev 46340)
+++ trunk/blender/release/scripts/startup/bl_ui/space_text.py	2012-05-06 07:59:37 UTC (rev 46341)
@@ -277,8 +277,10 @@
 
         layout.separator()
 
-        layout.operator("text.move_lines_up")
-        layout.operator("text.move_lines_down")
+        layout.operator("text.move_lines", 
+                        text="Move line(s) up").direction = 'UP'
+        layout.operator("text.move_lines",
+                        text="Move line(s) down").direction = 'DOWN'
 
         layout.separator()
 




More information about the Bf-blender-cvs mailing list