Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
committerNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
commit49c1b409286937d00a63fbf4cfb1f820a75a80c0 (patch)
treee85be0be22a3929aa28e4f3b4d3b16741eb26ebc /space_view3d_brush_menus/brush_menu.py
parent54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff)
addons: add missing text= keyword after label
Diffstat (limited to 'space_view3d_brush_menus/brush_menu.py')
-rw-r--r--space_view3d_brush_menus/brush_menu.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/space_view3d_brush_menus/brush_menu.py b/space_view3d_brush_menus/brush_menu.py
index f8c46ba7..d4c6863f 100644
--- a/space_view3d_brush_menus/brush_menu.py
+++ b/space_view3d_brush_menus/brush_menu.py
@@ -108,8 +108,8 @@ class BrushOptionsMenu(Menu):
toolsettings = context.tool_settings.image_paint
if context.image_paint_object and not toolsettings.detect_data():
- layout.row().label("Missing Data", icon="INFO")
- layout.row().label("See Tool Shelf", icon="BACK")
+ layout.row().label(text="Missing Data", icon="INFO")
+ layout.row().label(text="See Tool Shelf", icon="BACK")
else:
has_brush = utils_core.get_brush_link(context, types="brush")
if has_brush and has_brush.image_tool in {'DRAW', 'FILL'} and \
@@ -145,7 +145,7 @@ class BrushOptionsMenu(Menu):
particle_edit = context.tool_settings.particle_edit
if particle_edit.tool == 'NONE':
- layout.row().label("No Brush Selected", icon="INFO")
+ layout.row().label(text="No Brush Selected", icon="INFO")
layout.row().separator()
layout.row().menu("VIEW3D_MT_sv3_brushes_menu",
text="Select Brush", icon="BRUSH_DATA")
@@ -271,7 +271,7 @@ class BrushStrengthMenu(Menu):
disable_icon='RADIOBUT_ON'
)
else:
- layout.row().label("No brushes available", icon="INFO")
+ layout.row().label(text="No brushes available", icon="INFO")
class BrushModeMenu(Menu):
@@ -336,7 +336,7 @@ class BrushModeMenu(Menu):
disable=True, disable_icon='RADIOBUT_ON'
)
else:
- layout.row().label("No brushes available", icon="INFO")
+ layout.row().label(text="No brushes available", icon="INFO")
class BrushAutosmoothMenu(Menu):
@@ -372,7 +372,7 @@ class BrushAutosmoothMenu(Menu):
disable_icon='RADIOBUT_ON'
)
else:
- layout.row().label("No Smooth options available", icon="INFO")
+ layout.row().label(text="No Smooth options available", icon="INFO")
class BrushWeightMenu(Menu):
@@ -417,7 +417,7 @@ class BrushWeightMenu(Menu):
disable_icon='RADIOBUT_ON'
)
else:
- layout.row().label("No brush available", icon="INFO")
+ layout.row().label(text="No brush available", icon="INFO")
class ParticleCountMenu(Menu):
@@ -584,7 +584,7 @@ class ColorPickerPopup(Operator):
layout.row().template_ID(settings, "palette", new="palette.new")
else:
- layout.row().label("No brushes currently available", icon="INFO")
+ layout.row().label(text="No brushes currently available", icon="INFO")
return