[pitivi] layer: Make field local variable
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] layer: Make field local variable
- Date: Wed, 9 Nov 2016 13:13:12 +0000 (UTC)
commit 931421abb243c904944d75d703eb3e9509be880d
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Thu Oct 20 12:12:36 2016 +0200
layer: Make field local variable
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1401
pitivi/timeline/layer.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/layer.py b/pitivi/timeline/layer.py
index 8374c1a..b5a9817 100644
--- a/pitivi/timeline/layer.py
+++ b/pitivi/timeline/layer.py
@@ -90,10 +90,10 @@ class LayerControls(Gtk.EventBox, Loggable):
vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
hbox.pack_start(vbox, True, True, 0)
- self.sep = Gtk.Separator.new(Gtk.Orientation.VERTICAL)
- self.sep.props.margin_top = ui.PADDING / 2
- self.sep.props.margin_bottom = ui.PADDING / 2
- hbox.pack_start(self.sep, False, False, 0)
+ rightside_separator = Gtk.Separator.new(Gtk.Orientation.VERTICAL)
+ rightside_separator.props.margin_top = ui.PADDING / 2
+ rightside_separator.props.margin_bottom = ui.PADDING / 2
+ hbox.pack_start(rightside_separator, False, False, 0)
self.before_sep = SpacedSeparator(Gtk.PositionType.TOP)
vbox.pack_start(self.before_sep, False, False, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]