[gnome-color-manager] trivial: switch to using property style rather than preferences style in the first and second tabs o



commit 6017d6f1199f746ef2c5cca86d34f2992b9da2b7
Author: Richard Hughes <richard hughsie com>
Date:   Sat Jun 5 23:23:30 2010 +0100

    trivial: switch to using property style rather than preferences style in the first and second tabs of gcm-prefs

 data/gcm-prefs.ui |  143 ++++++++++++++++++++++++++++------------------------
 1 files changed, 77 insertions(+), 66 deletions(-)
---
diff --git a/data/gcm-prefs.ui b/data/gcm-prefs.ui
index 9ba9428..60cb63b 100644
--- a/data/gcm-prefs.ui
+++ b/data/gcm-prefs.ui
@@ -250,29 +250,7 @@
                           <object class="GtkVBox" id="vbox_device">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
-                            <property name="spacing">6</property>
-                            <child>
-                              <object class="GtkHBox" id="hbox19">
-                                <property name="visible">True</property>
-                                <child>
-                                  <object class="GtkLabel" id="label_device">
-                                    <property name="visible">True</property>
-                                    <property name="label" translatable="yes" comments="Section heading for device settings">Device</property>
-                                    <attributes>
-                                      <attribute name="weight" value="bold"/>
-                                    </attributes>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="position">0</property>
-                                  </packing>
-                                </child>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="position">0</property>
-                              </packing>
-                            </child>
+                            <property name="spacing">12</property>
                             <child>
                               <object class="GtkAlignment" id="alignment2">
                                 <property name="visible">True</property>
@@ -297,9 +275,13 @@
                                                   <object class="GtkLabel" id="label_title_manufacturer">
                                                     <property name="visible">True</property>
                                                     <property name="label" translatable="yes" comments="The manufacturer of the device">Manufacturer:</property>
+                                                    <attributes>
+                                                      <attribute name="weight" value="bold"/>
+                                                    </attributes>
                                                   </object>
                                                   <packing>
                                                     <property name="expand">False</property>
+                                                    <property name="pack_type">end</property>
                                                     <property name="position">0</property>
                                                   </packing>
                                                 </child>
@@ -325,6 +307,7 @@
                                                 </child>
                                               </object>
                                               <packing>
+                                                <property name="expand">False</property>
                                                 <property name="position">1</property>
                                               </packing>
                                             </child>
@@ -345,9 +328,13 @@
                                                   <object class="GtkLabel" id="label_title_model">
                                                     <property name="visible">True</property>
                                                     <property name="label" translatable="yes" comments="The model of the device">Model:</property>
+                                                    <attributes>
+                                                      <attribute name="weight" value="bold"/>
+                                                    </attributes>
                                                   </object>
                                                   <packing>
                                                     <property name="expand">False</property>
+                                                    <property name="pack_type">end</property>
                                                     <property name="position">0</property>
                                                   </packing>
                                                 </child>
@@ -373,6 +360,7 @@
                                                 </child>
                                               </object>
                                               <packing>
+                                                <property name="expand">False</property>
                                                 <property name="position">1</property>
                                               </packing>
                                             </child>
@@ -393,9 +381,13 @@
                                                   <object class="GtkLabel" id="label_title_serial">
                                                     <property name="visible">True</property>
                                                     <property name="label" translatable="yes" comments="The serial number of the device">Serial number:</property>
+                                                    <attributes>
+                                                      <attribute name="weight" value="bold"/>
+                                                    </attributes>
                                                   </object>
                                                   <packing>
                                                     <property name="expand">False</property>
+                                                    <property name="pack_type">end</property>
                                                     <property name="position">0</property>
                                                   </packing>
                                                 </child>
@@ -421,6 +413,7 @@
                                                 </child>
                                               </object>
                                               <packing>
+                                                <property name="expand">False</property>
                                                 <property name="position">1</property>
                                               </packing>
                                             </child>
@@ -441,9 +434,13 @@
                                                   <object class="GtkLabel" id="label_title_eisa">
                                                     <property name="visible">True</property>
                                                     <property name="label" translatable="yes" comments="The EISA (standards body) identifier of the device">EISA ID:</property>
+                                                    <attributes>
+                                                      <attribute name="weight" value="bold"/>
+                                                    </attributes>
                                                   </object>
                                                   <packing>
                                                     <property name="expand">False</property>
+                                                    <property name="pack_type">end</property>
                                                     <property name="position">0</property>
                                                   </packing>
                                                 </child>
@@ -469,6 +466,7 @@
                                                 </child>
                                               </object>
                                               <packing>
+                                                <property name="expand">False</property>
                                                 <property name="position">1</property>
                                               </packing>
                                             </child>
@@ -478,25 +476,6 @@
                                             <property name="position">3</property>
                                           </packing>
                                         </child>
-                                        <child>
-                                          <object class="GtkHBox" id="hbox3">
-                                            <property name="visible">True</property>
-                                            <child>
-                                              <object class="GtkLabel" id="label_problems">
-                                                <property name="visible">True</property>
-                                                <property name="label">Problems</property>
-                                                <property name="selectable">True</property>
-                                              </object>
-                                              <packing>
-                                                <property name="expand">False</property>
-                                                <property name="position">0</property>
-                                              </packing>
-                                            </child>
-                                          </object>
-                                          <packing>
-                                            <property name="position">4</property>
-                                          </packing>
-                                        </child>
                                       </object>
                                       <packing>
                                         <property name="position">0</property>
@@ -507,6 +486,24 @@
                               </object>
                               <packing>
                                 <property name="expand">False</property>
+                                <property name="position">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkHBox" id="hbox3">
+                                <property name="visible">True</property>
+                                <child>
+                                  <object class="GtkLabel" id="label_problems">
+                                    <property name="label">Problems</property>
+                                    <property name="selectable">True</property>
+                                  </object>
+                                  <packing>
+                                    <property name="expand">False</property>
+                                    <property name="position">0</property>
+                                  </packing>
+                                </child>
+                              </object>
+                              <packing>
                                 <property name="position">1</property>
                               </packing>
                             </child>
@@ -779,35 +776,13 @@
                           <object class="GtkVBox" id="vbox13">
                             <property name="visible">True</property>
                             <property name="orientation">vertical</property>
-                            <property name="spacing">6</property>
+                            <property name="spacing">12</property>
                             <child>
                               <object class="GtkVBox" id="vbox_profile_info">
                                 <property name="visible">True</property>
                                 <property name="orientation">vertical</property>
                                 <property name="spacing">6</property>
                                 <child>
-                                  <object class="GtkHBox" id="hbox38">
-                                    <property name="visible">True</property>
-                                    <child>
-                                      <object class="GtkLabel" id="label_profile1">
-                                        <property name="visible">True</property>
-                                        <property name="label" translatable="yes" comments="Section heading for device profile settings">Color Profile</property>
-                                        <attributes>
-                                          <attribute name="weight" value="bold"/>
-                                        </attributes>
-                                      </object>
-                                      <packing>
-                                        <property name="expand">False</property>
-                                        <property name="position">0</property>
-                                      </packing>
-                                    </child>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="position">0</property>
-                                  </packing>
-                                </child>
-                                <child>
                                   <object class="GtkAlignment" id="alignment5">
                                     <property name="visible">True</property>
                                     <property name="left_padding">12</property>
@@ -831,9 +806,13 @@
                                                       <object class="GtkLabel" id="label_title_type">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The type of profile, e.g. display, scanner, etc.">Profile type:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -883,9 +862,13 @@
                                                       <object class="GtkLabel" id="label_title_colorspace">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The profile colorspace, e.g. RGB">Colorspace:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -935,9 +918,13 @@
                                                       <object class="GtkLabel" id="label_title_datetime">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="When the profile was created">Created:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -987,9 +974,13 @@
                                                       <object class="GtkLabel" id="label_title_profile_manufacturer">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The manufacturer of the profile">Device manufacturer:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -1039,9 +1030,13 @@
                                                       <object class="GtkLabel" id="label_title_profile_model">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The manufacturer of the profile">Device model:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -1091,9 +1086,13 @@
                                                       <object class="GtkLabel" id="label_title_vcgt">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="If the profile contains a display correction table">Display correction:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -1143,9 +1142,13 @@
                                                       <object class="GtkLabel" id="label_title_copyright">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The licence of the profile, normally non-free">License:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -1195,9 +1198,13 @@
                                                       <object class="GtkLabel" id="label_title_size">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The file size in bytes of the profile">File size:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -1247,9 +1254,13 @@
                                                       <object class="GtkLabel" id="label_title_filename">
                                                         <property name="visible">True</property>
                                                         <property name="label" translatable="yes" comments="The basename (the last section of the filename) of the profile">Filename:</property>
+                                                        <attributes>
+                                                          <attribute name="weight" value="bold"/>
+                                                        </attributes>
                                                       </object>
                                                       <packing>
                                                         <property name="expand">False</property>
+                                                        <property name="pack_type">end</property>
                                                         <property name="position">0</property>
                                                       </packing>
                                                     </child>
@@ -1300,7 +1311,7 @@
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>
-                                    <property name="position">1</property>
+                                    <property name="position">0</property>
                                   </packing>
                                 </child>
                               </object>



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