[pitivi] Fix spacing setting
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix spacing setting
- Date: Tue, 27 Jan 2015 18:39:29 +0000 (UTC)
commit 18e77773ebee377acafab19afe03571f1c085d50
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Nov 21 04:05:11 2014 +0100
Fix spacing setting
pitivi/effects.py | 2 +-
pitivi/utils/extract.py | 2 --
pitivi/utils/widgets.py | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/effects.py b/pitivi/effects.py
index 86677cb..ef512d0 100644
--- a/pitivi/effects.py
+++ b/pitivi/effects.py
@@ -355,7 +355,7 @@ class EffectListWidget(Gtk.Box, Loggable):
self.view.set_model(self.modelFilter)
icon_col = Gtk.TreeViewColumn()
- icon_col.props.spacing = SPACING
+ icon_col.set_spacing(SPACING)
icon_col.set_sizing(Gtk.TreeViewColumnSizing.FIXED)
icon_col.props.fixed_width = ICON_WIDTH
icon_cell = Gtk.CellRendererPixbuf()
diff --git a/pitivi/utils/extract.py b/pitivi/utils/extract.py
index 2d411dd..458b44e 100644
--- a/pitivi/utils/extract.py
+++ b/pitivi/utils/extract.py
@@ -168,8 +168,6 @@ class RandomAccessAudioExtractor(RandomAccessExtractor):
self._ready = False
def _pipelineInit(self, factory, sbin):
- self.spacing = 0
-
self.audioSink = ExtractionSink()
self.audioSink.set_stopped_cb(self._finishSegment)
# This audiorate element ensures that the extracted raw-data
diff --git a/pitivi/utils/widgets.py b/pitivi/utils/widgets.py
index 529f62b..c4ea608 100644
--- a/pitivi/utils/widgets.py
+++ b/pitivi/utils/widgets.py
@@ -211,7 +211,7 @@ class NumericWidget(Gtk.Box, DynamicWidget):
DynamicWidget.__init__(self, default)
self.set_orientation(Gtk.Orientation.HORIZONTAL)
- self.spacing = SPACING
+ self.set_spacing(SPACING)
self.adjustment = Gtk.Adjustment()
self.upper = upper
self.lower = lower
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]