[pitivi/ges: 32/287] Set pipeline to NULL when deleting for the while
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 32/287] Set pipeline to NULL when deleting for the while
- Date: Thu, 15 Mar 2012 16:28:31 +0000 (UTC)
commit e19b58d2192b80435f376cbbe59f7bfd8a6aff0d
Author: Mathieu Duponchelle <seeed laposte net>
Date: Wed Aug 31 20:55:49 2011 +0200
Set pipeline to NULL when deleting for the while
pitivi/ui/timeline.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index f702a88..6783be6 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -682,6 +682,7 @@ class Timeline(gtk.Table, Loggable, Zoomable):
Zoomable.zoomOut()
def deleteSelected(self, unused_action):
+ self.app.projectManager.current.pipeline.set_state(gst.STATE_NULL)
if self.timeline:
self.app.action_log.begin("delete clip")
for track_object in self.timeline.selected:
@@ -698,6 +699,7 @@ class Timeline(gtk.Table, Loggable, Zoomable):
lyr.remove_object(obj)
print "removed"
self.app.action_log.commit()
+ self.app.projectManager.current.pipeline.set_state(gst.STATE_PAUSED)
def unlinkSelected(self, unused_action):
if self.timeline:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]