[pitivi/ges: 285/287] viewer: Compact code
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 285/287] viewer: Compact code
- Date: Thu, 15 Mar 2012 16:49:49 +0000 (UTC)
commit 25a5943b22febe76276015444b14b0af8f68da9a
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Wed Feb 15 22:40:49 2012 -0500
viewer: Compact code
pitivi/viewer.py | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index d1dd07c..f29bbcd 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -234,10 +234,8 @@ class PitiviViewer(gtk.VBox, Loggable):
self.external_window.add(vbox)
self.external = ViewerWidget(self.app.settings)
vbox.pack_start(self.external)
- self.external_window.connect("delete-event",
- self._externalWindowDeleteCb)
- self.external_window.connect("configure-event",
- self._externalWindowConfigureCb)
+ self.external_window.connect("delete-event", self._externalWindowDeleteCb)
+ self.external_window.connect("configure-event", self._externalWindowConfigureCb)
self.external_vbox = vbox
self.external_vbox.show_all()
@@ -430,10 +428,8 @@ class PitiviViewer(gtk.VBox, Loggable):
if self.sink:
self._switch_output_window()
self.hide()
- self.external_window.move(self.settings.viewerX,
- self.settings.viewerY)
- self.external_window.resize(self.settings.viewerWidth,
- self.settings.viewerHeight)
+ self.external_window.move(self.settings.viewerX, self.settings.viewerY)
+ self.external_window.resize(self.settings.viewerWidth, self.settings.viewerHeight)
def dock(self):
if not self.undock_action:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]