[pitivi/ges: 215/287] mainwindow: Remove some unused callbacks



commit 4abcc10837b4a69d8e4e6dbef05f4771661d70f4
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Fri Jan 13 10:38:36 2012 -0500

    mainwindow: Remove some unused callbacks

 pitivi/mainwindow.py |   13 +------------
 pitivi/viewer.py     |    6 ------
 2 files changed, 1 insertions(+), 18 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 6e81150..62176b6 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -210,14 +210,12 @@ class PitiviMainWindow(gtk.Window, Loggable):
         self.app.action_log.connect("redo", self._actionLogRedo)
         self.app.action_log.connect("cleaned", self._actionLogCleaned)
 
-    def showRenderDialog(self, project, pause=True):
+    def showRenderDialog(self, project):
         """
         Shows the L{RenderDialog} for the given project Timeline.
 
         @param project: The project
         @type project: L{Project}
-        @param pause: If C{True}, pause the timeline before displaying the dialog.
-        @type pause: C{bool}
         """
         from pitivi.render import RenderDialog
 
@@ -690,18 +688,9 @@ class PitiviMainWindow(gtk.Window, Loggable):
             self.prefsdialog.dialog.set_transient_for(self)
         self.prefsdialog.run()
 
-    def rewind(self, unused_action):
-        pass
-
     def playPause(self, unused_action):
         self.viewer.togglePlayback()
 
-    def pause(self, unused_action):
-        self.viewer.pause()
-
-    def fastForward(self, unused_action):
-        pass
-
     def loop(self, unused_action):
         pass
 
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index f57e05a..c3c1190 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -446,12 +446,6 @@ class PitiviViewer(gtk.VBox, Loggable):
 
     ## public methods for controlling playback
 
-    def play(self):
-        self.pipeline.play()
-
-    def pause(self):
-        self.pipeline.pause()
-
     def togglePlayback(self):
         if self.pipeline:
             state = togglePlayback(self.pipeline)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]