[pitivi: 4/16] Properly call mainwindow's setBestZoomRatio()



commit 2146bca5636936433fff35737360673b478e0f5e
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Wed Dec 1 13:21:06 2010 -0500

    Properly call mainwindow's setBestZoomRatio()

 pitivi/ui/timeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 7b6baf4..270f376 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -748,7 +748,7 @@ class Timeline(gtk.Table, Loggable, Zoomable):
         gtk.Vbox.hide(self)
 
     def _zoomFitCb(self, unused_action):
-        pass
+        self.app.gui.setBestZoomRatio()
 
     def _zoomInCb(self, unused_action):
         Zoomable.zoomIn()



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