[pitivi] clipproperties: Remove unused code
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] clipproperties: Remove unused code
- Date: Thu, 17 Dec 2015 10:01:21 +0000 (UTC)
commit faf5a04e49be1b8403fedfe06825afea2314f2fc
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Thu Oct 29 23:08:56 2015 +0100
clipproperties: Remove unused code
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D535
pitivi/clipproperties.py | 14 --------------
pitivi/mainwindow.py | 1 -
2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index fa7401b..cb00ae6 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -110,17 +110,6 @@ class ClipProperties(Gtk.Box, Loggable):
self.infobar_box.pack_start(infobar, False, False, 0)
return infobar
- def _getTimeline(self):
- return self._timeline
-
- def _setTimeline(self, timeline):
- self.effect_expander.timeline = timeline
- # Transformation boxed DISABLED
- # self.transformation_expander.timeline = timeline
- self._timeline = timeline
-
- timeline = property(_getTimeline, _setTimeline)
-
class EffectProperties(Gtk.Expander, Loggable):
"""
@@ -583,9 +572,6 @@ class TransformationProperties(Gtk.Expander, Loggable):
self.__setupSpinButton("width_spinbtn", "width")
self.__setupSpinButton("height_spinbtn", "height")
- def _zoomViewerCb(self, scale):
- self.app.gui.viewer.setZoom(scale.get_value())
-
def _expandedCb(self, expander, params):
if self._selected_clip:
self.source = self._selected_clip.find_track_element(None,
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 1eff8d9..d1c7621 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -909,7 +909,6 @@ class PitiviMainWindow(Gtk.ApplicationWindow, Loggable):
self.app.project_manager.current_project.timeline.disconnect_by_func(
self._timelineDurationChangedCb)
self.timeline_ui.setProject(None)
- self.clipconfig.timeline = None
self.render_button.set_sensitive(False)
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]