[pitivi] timeline: Rename caps-locked local variable
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Rename caps-locked local variable
- Date: Tue, 4 Feb 2014 21:49:41 +0000 (UTC)
commit 2288908ca803e0fc39bb79867772b34d4ea69474
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Sun Dec 22 05:31:18 2013 +0100
timeline: Rename caps-locked local variable
pitivi/timeline/timeline.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 5609535..233467a 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -751,7 +751,7 @@ class Timeline(Gtk.VBox, Zoomable, Loggable):
# We need to snapshot this value, because we only do the zoom fit at the
# end of clip insertion, but inserting multiple clips eventually changes
# the value of self.zoomed_fitted as clips get progressively inserted...
- _ZOOM_WAS_FITTED = self.zoomed_fitted
+ zoom_was_fitted = self.zoomed_fitted
for asset in assets:
if isinstance(asset, GES.TitleClip):
@@ -768,7 +768,7 @@ class Timeline(Gtk.VBox, Zoomable, Loggable):
asset.set_start(self.bTimeline.props.duration)
layer.add_clip(asset)
- if _ZOOM_WAS_FITTED:
+ if zoom_was_fitted:
self._setBestZoomRatio()
else:
self.scrollToPixel(Zoomable.nsToPixel(self.bTimeline.props.duration))
@@ -1551,7 +1551,7 @@ class Timeline(Gtk.VBox, Zoomable, Loggable):
def _dragDropCb(self, widget, context, x, y, time):
# Same as in insertEnd: this value changes during insertion, snapshot it
- _ZOOM_WAS_FITTED = self.zoomed_fitted
+ zoom_was_fitted = self.zoomed_fitted
target = widget.drag_dest_find_target(context, None)
y -= self.ruler.get_allocation().height
@@ -1561,7 +1561,7 @@ class Timeline(Gtk.VBox, Zoomable, Loggable):
if self.isDraggedClip:
self.timeline.convertGhostClips()
self.timeline.resetGhostClips()
- if _ZOOM_WAS_FITTED:
+ if zoom_was_fitted:
self._setBestZoomRatio()
else:
x, y = self.transposeXY(x, y)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]