[pitivi/ges: 278/287] viewer: Remove useless _getDefaultAction method
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 278/287] viewer: Remove useless _getDefaultAction method
- Date: Thu, 15 Mar 2012 16:49:14 +0000 (UTC)
commit 83ba540c4d0183ca8fa83dfdf64060111a689818
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Tue Feb 14 16:02:54 2012 -0500
viewer: Remove useless _getDefaultAction method
Doing simply "return" returns None anyway.
pitivi/viewer.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index bfd80af..051ca17 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -170,9 +170,6 @@ class PitiviViewer(gtk.VBox, Loggable):
if self.action != None:
# if there was one previously, remove it
self._disconnectFromAction()
- if action == None:
- # get the default action
- action = self._getDefaultAction()
self._connectToAction(action)
self.showControls()
@@ -210,9 +207,6 @@ class PitiviViewer(gtk.VBox, Loggable):
if active:
self.emit("activate-playback-controls", True)
- def _getDefaultAction(self):
- return
-
def _externalWindowDeleteCb(self, window, event):
self.dock()
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]