[pitivi] viewer: Do not fail starting with an undocked viewer
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] viewer: Do not fail starting with an undocked viewer
- Date: Wed, 16 Sep 2015 17:12:34 +0000 (UTC)
commit 8854af45c77c87c2fa4a5585e0fb644f960afaf5
Author: Thibault Saunier <tsaunier gnome org>
Date: Wed Sep 16 19:12:30 2015 +0200
viewer: Do not fail starting with an undocked viewer
pitivi/viewer.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index db39572..1c05269 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -335,15 +335,13 @@ class ViewerContainer(Gtk.Box, Loggable):
self.docked = False
self.settings.viewerDocked = False
-
self.remove(self.buttons_container)
position = None
if self.pipeline:
position = self.pipeline.getPosition()
self.pipeline.setState(Gst.State.NULL)
self.remove(self.target)
-
- self.__createNewViewer()
+ self.__createNewViewer()
self.external_vbox.pack_end(self.buttons_container, False, False, 0)
self.external_window.set_type_hint(Gdk.WindowTypeHint.UTILITY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]