[mistelix] Fixes time spin control in Add Dialog box



commit fe8f518e51091e00b9aa081d1227745ca3445cf2
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Nov 1 17:45:15 2010 +0100

    Fixes time spin control in Add Dialog box

 src/Dialogs/ui/AddSlideDialog.ui    |   11 ++++++++++-
 src/Dialogs/ui/PreferencesDialog.ui |   26 ++++++++++++--------------
 2 files changed, 22 insertions(+), 15 deletions(-)
---
diff --git a/src/Dialogs/ui/AddSlideDialog.ui b/src/Dialogs/ui/AddSlideDialog.ui
index 0f7f9e3..8e1ba46 100644
--- a/src/Dialogs/ui/AddSlideDialog.ui
+++ b/src/Dialogs/ui/AddSlideDialog.ui
@@ -1,5 +1,14 @@
 <?xml version="1.0"?>
 <interface>
+  <object class="GtkAdjustment" id="adjustment">
+    <property name="upper">100</property>
+    <property name="lower">0</property>
+    <property name="page_increment">0</property>
+    <property name="step_increment">1</property>
+    <property name="page_size">0</property>
+    <property name="value">1</property>
+  </object>
+
   <object class="GtkDialog" id="addslide">
     <property name="width_request">800</property>
     <property name="height_request">600</property>
@@ -72,7 +81,7 @@
                                   <object class="GtkSpinButton" id="duration_spin">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="adjustment">adjustment1</property>
+                                    <property name="adjustment">adjustment</property>
                                     <property name="climb_rate">1</property>
                                   </object>
                                   <packing>
diff --git a/src/Dialogs/ui/PreferencesDialog.ui b/src/Dialogs/ui/PreferencesDialog.ui
index f813073..984d3fc 100644
--- a/src/Dialogs/ui/PreferencesDialog.ui
+++ b/src/Dialogs/ui/PreferencesDialog.ui
@@ -1,14 +1,12 @@
 <?xml version="1.0"?>
 <interface>
+  <!-- interface-requires gtk+ 2.12 -->
+  <!-- interface-naming-policy toplevel-contextual -->
   <object class="GtkAdjustment" id="adjustment">
+    <property name="value">1</property>
     <property name="upper">100</property>
-    <property name="lower">0</property>
-    <property name="page_increment">0</property>
     <property name="step_increment">1</property>
-    <property name="page_size">0</property>
-    <property name="value">1</property>
   </object>
-
   <object class="GtkDialog" id="preferences">
     <property name="width_request">600</property>
     <property name="visible">True</property>
@@ -100,7 +98,7 @@
                       </object>
                       <packing>
                         <property name="x_options">GTK_FILL</property>
-                        <property name="y_options"/>
+                        <property name="y_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -114,7 +112,7 @@
                         <property name="top_attach">1</property>
                         <property name="bottom_attach">2</property>
                         <property name="x_options">GTK_FILL</property>
-                        <property name="y_options"/>
+                        <property name="y_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -128,7 +126,7 @@
                         <property name="top_attach">2</property>
                         <property name="bottom_attach">3</property>
                         <property name="x_options">GTK_FILL</property>
-                        <property name="y_options"/>
+                        <property name="y_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -142,7 +140,7 @@
                         <property name="top_attach">3</property>
                         <property name="bottom_attach">4</property>
                         <property name="x_options">GTK_FILL</property>
-                        <property name="y_options"/>
+                        <property name="y_options"></property>
                       </packing>
                     </child>
                     <child>
@@ -261,7 +259,7 @@
                           </object>
                           <packing>
                             <property name="x_options">GTK_FILL</property>
-                            <property name="y_options"/>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
@@ -275,7 +273,7 @@
                             <property name="top_attach">1</property>
                             <property name="bottom_attach">2</property>
                             <property name="x_options">GTK_FILL</property>
-                            <property name="y_options"/>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
@@ -289,7 +287,7 @@
                             <property name="top_attach">2</property>
                             <property name="bottom_attach">3</property>
                             <property name="x_options">GTK_FILL</property>
-                            <property name="y_options"/>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
@@ -314,7 +312,7 @@
                             <property name="right_attach">2</property>
                             <property name="top_attach">1</property>
                             <property name="bottom_attach">2</property>
-                            <property name="y_options"/>
+                            <property name="y_options"></property>
                           </packing>
                         </child>
                         <child>
@@ -377,7 +375,7 @@
                 <property name="can_default">True</property>
                 <property name="receives_default">False</property>
                 <property name="use_stock">True</property>
-                <signal handler="OnOK" name="clicked"/>
+                <signal name="clicked" handler="OnOK"/>
               </object>
               <packing>
                 <property name="expand">False</property>



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