[pitivi: 20/27] viewer: make the seeker in the timeline working again
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 20/27] viewer: make the seeker in the timeline working again
- Date: Wed, 11 May 2011 14:06:52 +0000 (UTC)
commit cacaa84798c1eaf681265f0e11d3e0bf25ea2d19
Author: Thibault Saunier <thibault saunier collabora co uk>
Date: Wed Jan 19 09:19:09 2011 +0100
viewer: make the seeker in the timeline working again
pitivi/ui/viewer.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/viewer.py b/pitivi/ui/viewer.py
index 8494f8d..3b19e1f 100644
--- a/pitivi/ui/viewer.py
+++ b/pitivi/ui/viewer.py
@@ -329,7 +329,7 @@ class PitiviViewer(gtk.VBox, Loggable):
# current time
self.timecode_entry = TimeWidget()
- self.timecode_entry.setWidgetValue("00:00:00.000")
+ self.timecode_entry.setWidgetValue(0)
self.timecode_entry.connect("value-changed", self._jumpToTimecodeCb)
self.timecode_entry.connectFocusEvents(self._entryFocusInCb, self._entryFocusOutCb)
bbox.pack_start(self.timecode_entry, expand=False, padding=10)
@@ -454,7 +454,7 @@ class PitiviViewer(gtk.VBox, Loggable):
self.info("value:%s, frame:%d", gst.TIME_ARGS(value), frame)
self.current_time = value
self.current_frame = frame
- self.timecode_entry.set_text("%s" % time_to_string(value))
+ self.timecode_entry.setWidgetValue(value)
if not self.moving_slider:
self.posadjust.set_value(float(value))
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]