[pitivi] Scroll to playhead when the zoom widget is updated as well
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Scroll to playhead when the zoom widget is updated as well
- Date: Wed, 24 Apr 2013 18:04:52 +0000 (UTC)
commit 5eec2084d9425622a96409fa65e38fa5c55e1baf
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Sun Apr 21 23:31:54 2013 +0200
Scroll to playhead when the zoom widget is updated as well
pitivi/utils/widgets.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/utils/widgets.py b/pitivi/utils/widgets.py
index 9261fc0..ad741da 100644
--- a/pitivi/utils/widgets.py
+++ b/pitivi/utils/widgets.py
@@ -1128,6 +1128,7 @@ class ZoomBox(Gtk.HBox, Zoomable):
# GTK crack
self._updateZoomSlider = False
Zoomable.setZoomLevel(int(adjustment.get_value()))
+ self.timeline._scrollToPlayhead()
self.zoomed_fitted = False
self._updateZoomSlider = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]