[pitivi] Prevent resizing the preferences dialog
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Prevent resizing the preferences dialog
- Date: Sun, 2 Sep 2012 04:05:47 +0000 (UTC)
commit 30495d56212b17ed0515ba7181b0cb8a7207f89a
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Wed Aug 29 14:37:56 2012 -0700
Prevent resizing the preferences dialog
Years down the road, it turns out that we still don't have enough
prefs to warrant scrollable areas in the preferences.
This commit doesn't remove the dimensions saving/loading code
but it prevents the window from resizing, effectively making it use
the smallest size required by its child widgets. If needed, this can
easily be reverted.
data/ui/preferences.ui | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/preferences.ui b/data/ui/preferences.ui
index 430ae3a..35c15b1 100644
--- a/data/ui/preferences.ui
+++ b/data/ui/preferences.ui
@@ -5,6 +5,7 @@
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Preferences</property>
+ <property name="resizable">False</property>
<property name="type_hint">dialog</property>
<signal name="configure-event" handler="_configureCb" swapped="no"/>
<child internal-child="vbox">
@@ -60,7 +61,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">never</property>
<child>
<object class="GtkViewport" id="viewport1">
<property name="visible">True</property>
@@ -79,7 +80,7 @@
</object>
<packing>
<property name="resize">True</property>
- <property name="shrink">True</property>
+ <property name="shrink">False</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]