From e9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 28 Aug 2018 12:34:51 +1000 Subject: UI: text keyword argument to label Prepare for keyword only args --- release/scripts/startup/bl_ui/space_sequencer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_sequencer.py') 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") -- cgit v1.2.3