[pitivi] timeline: Don't Gtk.main_quit when not run in standalone mode.
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Don't Gtk.main_quit when not run in standalone mode.
- Date: Thu, 1 Aug 2013 09:09:12 +0000 (UTC)
commit 08b8ee2bf7f7a171d33c9a181c9e4b82c5b14bc9
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Thu Aug 1 11:07:42 2013 +0200
timeline: Don't Gtk.main_quit when not run in standalone mode.
pitivi/timeline/timeline.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index ceba5c3..02499d0 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -21,6 +21,7 @@
# Boston, MA 02110-1301, USA.
import sys
+import os
from gi.repository import GtkClutter
@@ -822,7 +823,6 @@ class Timeline(Gtk.VBox, Zoomable):
self.stage.add_child(self.controls)
self.stage.add_child(self.timeline)
- self.stage.connect("destroy", quit_)
self.stage.connect("button-press-event", self._clickedCb)
self.stage.connect("button-release-event", self._releasedCb)
self.embed.connect("scroll-event", self._scrollEventCb)
@@ -1456,6 +1456,8 @@ class Timeline(Gtk.VBox, Zoomable):
self.bTimeline = bTimeline
timeline.setTimeline(bTimeline)
+ self.stage.connect("destroy", quit_)
+
layer = GES.Layer()
bTimeline.add_layer(layer)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]