[pitivi] projectsettings: slight cleanup



commit 1fcffc1b155333eb7d48dbf52ab6571dc39a4b01
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Mon Jun 6 14:40:55 2011 -0400

    projectsettings: slight cleanup

 data/ui/projectsettings.ui   |    9 +++++----
 pitivi/ui/projectsettings.py |    5 +++--
 2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/projectsettings.ui b/data/ui/projectsettings.ui
index 4326c18..9bc11ad 100644
--- a/data/ui/projectsettings.ui
+++ b/data/ui/projectsettings.ui
@@ -66,6 +66,7 @@
       <object class="GtkBox" id="dialog-vbox1">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
+        <property name="orientation">vertical</property>
         <property name="spacing">12</property>
         <child internal-child="action_area">
           <object class="GtkButtonBox" id="dialog-action_area1">
@@ -281,7 +282,7 @@
                       <packing>
                         <property name="top_attach">4</property>
                         <property name="bottom_attach">5</property>
-                        <property name="x_options">GTK_FILL</property>
+                        <property name="y_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -338,7 +339,7 @@
                         <property name="right_attach">2</property>
                         <property name="top_attach">4</property>
                         <property name="bottom_attach">5</property>
-                        <property name="x_options">GTK_FILL</property>
+                        <property name="y_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -463,7 +464,7 @@
                     </child>
                   </object>
                   <packing>
-                    <property name="expand">True</property>
+                    <property name="expand">False</property>
                     <property name="fill">True</property>
                     <property name="position">1</property>
                   </packing>
@@ -875,7 +876,7 @@
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
+            <property name="expand">True</property>
             <property name="fill">True</property>
             <property name="position">1</property>
           </packing>
diff --git a/pitivi/ui/projectsettings.py b/pitivi/ui/projectsettings.py
index c6f2012..d78ef59 100644
--- a/pitivi/ui/projectsettings.py
+++ b/pitivi/ui/projectsettings.py
@@ -84,18 +84,19 @@ class ProjectSettingsDialog():
         self._setProperties()
         self.builder.connect_signals(self)
 
-        # add custom widgets
+        # add custom display aspect ratio widget
         self.dar_fraction_widget = FractionWidget()
         self.video_properties_table.attach(self.dar_fraction_widget,
             0, 1, 6, 7, xoptions=gtk.EXPAND | gtk.FILL, yoptions=0)
         self.dar_fraction_widget.show()
 
-        # add custom widgets
+        # add custom pixel aspect ratio widget
         self.par_fraction_widget = FractionWidget()
         self.video_properties_table.attach(self.par_fraction_widget,
             1, 2, 6, 7, xoptions=gtk.EXPAND | gtk.FILL, yoptions=0)
         self.par_fraction_widget.show()
 
+        # add custom framerate widget
         self.frame_rate_fraction_widget = FractionWidget()
         self.video_properties_table.attach(self.frame_rate_fraction_widget,
             1, 2, 2, 3, xoptions=gtk.EXPAND | gtk.FILL, yoptions=0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]