[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51243] trunk/blender/release/scripts/ startup: Cosmetic: Changed label of the 'Install Addon...' Button to ' Install from File...'

Gaia Clary gaia.clary at machinimatrix.org
Wed Oct 10 10:04:05 CEST 2012


Revision: 51243
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51243
Author:   gaiaclary
Date:     2012-10-10 08:04:04 +0000 (Wed, 10 Oct 2012)
Log Message:
-----------
Cosmetic: Changed label of the 'Install Addon...' Button to 'Install from File...'

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/wm.py
    trunk/blender/release/scripts/startup/bl_ui/space_userpref.py

Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py	2012-10-10 05:56:49 UTC (rev 51242)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py	2012-10-10 08:04:04 UTC (rev 51243)
@@ -1668,7 +1668,7 @@
 class WM_OT_addon_install(Operator):
     "Install an addon"
     bl_idname = "wm.addon_install"
-    bl_label = "Install Addon..."
+    bl_label = "Install from File..."
 
     overwrite = BoolProperty(
             name="Overwrite",

Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2012-10-10 05:56:49 UTC (rev 51242)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2012-10-10 08:04:04 UTC (rev 51243)
@@ -92,7 +92,7 @@
             layout.operator("wm.keyconfig_import")
             layout.operator("wm.keyconfig_export")
         elif userpref.active_section == 'ADDONS':
-            layout.operator("wm.addon_install")
+            layout.operator("wm.addon_install", icon="FILESEL")
             layout.menu("USERPREF_MT_addons_dev_guides")
         elif userpref.active_section == 'THEMES':
             layout.operator("ui.reset_default_theme")




More information about the Bf-blender-cvs mailing list