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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-28 05:34:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-28 05:34:51 +0300
commite9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 (patch)
tree1b41a7ae2d7c197276e78471a5206946a3d50ea8 /release/scripts/startup/bl_ui/space_sequencer.py
parent60b24f2415233d6dd6feb0c463de59570d7835ff (diff)
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 5dfe54d695f..62becbc080e 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -707,7 +707,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
if strip_channel > 2:
BT_ROW = 4
- col.label("Cut To:")
+ col.label(text="Cut To:")
row = col.row()
for i in range(1, strip_channel):
@@ -726,7 +726,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
if strip.channel > BT_ROW and (strip_channel - 1) % BT_ROW:
for i in range(strip.channel, strip_channel + ((BT_ROW + 1 - strip_channel) % BT_ROW)):
- row.label("")
+ row.label(text="")
else:
col.separator()
col.label(text="Two or more channels are needed below this strip", icon='INFO')
@@ -746,7 +746,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
col.prop(strip, "align_x")
col.prop(strip, "align_y")
- col.label("Location")
+ col.label(text="Location")
row = col.row(align=True)
row.prop(strip, "location", text="")
col.prop(strip, "wrap_width")
@@ -971,7 +971,7 @@ class SEQUENCER_PT_scene(SequencerButtonsPanel, Panel):
if scene:
# Warning, this is not a good convention to follow.
# Expose here because setting the alpha from the 'Render' menu is very inconvenient.
- layout.label("Preview")
+ layout.label(text="Preview")
layout.prop(scene.render, "alpha_mode")
if scene:
@@ -1058,7 +1058,7 @@ class SEQUENCER_PT_filter(SequencerButtonsPanel, Panel):
col.prop(strip, "use_flip_x", text="X Flip")
col.prop(strip, "use_flip_y", text="Y Flip")
- layout.label("Color:")
+ layout.label(text="Color:")
col = layout.column(align=True)
col.prop(strip, "color_saturation", text="Saturation")
col.prop(strip, "color_multiply", text="Multiply")