[pitivi] ElementSettingsDialog: make the dialog reasonably large by default
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] ElementSettingsDialog: make the dialog reasonably large by default
- Date: Fri, 10 Dec 2010 17:53:43 +0000 (UTC)
commit 2992e7953ec276d41ac534886c97aae5509ae983
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Fri Dec 10 16:02:04 2010 +0000
ElementSettingsDialog: make the dialog reasonably large by default
pitivi/ui/gstwidget.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/gstwidget.py b/pitivi/ui/gstwidget.py
index 6661254..c3c14ae 100644
--- a/pitivi/ui/gstwidget.py
+++ b/pitivi/ui/gstwidget.py
@@ -196,6 +196,10 @@ class GstElementSettingsDialog(GladeWindow, Loggable):
self.infolabel.set_markup("<b>" + self.factory.get_longname() + "</b>")
self.elementsettings.setElement(self.element, self.properties)
self.elementsettings.set_border_width(12)
+ self.window.connect("map-event", self._windowMappedCb)
+
+ def _windowMappedCb(self, widget, event):
+ self.window.resize(600, 400)
def getSettings(self):
""" returns the property/value dictionnary of the selected settings """
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]