tracker r1299 - in trunk: . src/tracker-preferences



Author: asaleem
Date: Thu Apr 24 04:53:35 2008
New Revision: 1299
URL: http://svn.gnome.org/viewvc/tracker?rev=1299&view=rev

Log:
set alignment in glade

Modified:
   trunk/ChangeLog
   trunk/src/tracker-preferences/tracker-preferences.c
   trunk/src/tracker-preferences/tracker-preferences.glade

Modified: trunk/src/tracker-preferences/tracker-preferences.c
==============================================================================
--- trunk/src/tracker-preferences/tracker-preferences.c	(original)
+++ trunk/src/tracker-preferences/tracker-preferences.c	Thu Apr 24 04:53:35 2008
@@ -127,10 +127,6 @@
 			  self);
 	gtk_widget_hide (widget);
 
-	widget = glade_xml_get_widget (priv->gxml, "dialog-action_area1");
-	gtk_button_box_set_layout (GTK_BUTTON_BOX (widget),
-				   GTK_BUTTONBOX_END);
-
 	widget = glade_xml_get_widget (priv->gxml, "cmdApply");
 	g_signal_connect (widget, "clicked", G_CALLBACK (tracker_preferences_cmd_apply),
 			  self);

Modified: trunk/src/tracker-preferences/tracker-preferences.glade
==============================================================================
--- trunk/src/tracker-preferences/tracker-preferences.glade	(original)
+++ trunk/src/tracker-preferences/tracker-preferences.glade	Thu Apr 24 04:53:35 2008
@@ -65,8 +65,8 @@
                                         <property name="adjustment">0 0 1000 1 300 300</property>
                                         <property name="climb_rate">1</property>
                                         <accessibility>
-                                          <atkrelation target="lblInitialSleep" type="labelled-by"/>
                                           <atkrelation target="lblInitialSleepSeconds" type="labelled-by"/>
+                                          <atkrelation target="lblInitialSleep" type="labelled-by"/>
                                         </accessibility>
                                       </widget>
                                     </child>
@@ -889,34 +889,35 @@
                       </widget>
                       <packing>
                         <property name="expand">False</property>
+                        <property name="position">1</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="GtkCheckButton" id="chkEnableThunderbirdIndexing">
+                      <widget class="GtkCheckButton" id="chkEnableKMailIndexing">
                         <property name="visible">True</property>
                         <property name="sensitive">False</property>
-                        <property name="label" translatable="yes">Enable _Thunderbird email indexing</property>
+                        <property name="label" translatable="yes">Enable _KMail email indexing</property>
                         <property name="use_underline">True</property>
                         <property name="response_id">0</property>
                         <property name="draw_indicator">True</property>
                       </widget>
                       <packing>
                         <property name="expand">False</property>
-                        <property name="position">1</property>
+                        <property name="position">2</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="GtkCheckButton" id="chkEnableKMailIndexing">
+                      <widget class="GtkCheckButton" id="chkEnableThunderbirdIndexing">
                         <property name="visible">True</property>
                         <property name="sensitive">False</property>
-                        <property name="label" translatable="yes">Enable _KMail email indexing</property>
+                        <property name="label" translatable="yes">Enable _Thunderbird email indexing</property>
                         <property name="use_underline">True</property>
                         <property name="response_id">0</property>
                         <property name="draw_indicator">True</property>
                       </widget>
                       <packing>
                         <property name="expand">False</property>
-                        <property name="position">2</property>
+                        <property name="position">1</property>
                       </packing>
                     </child>
                   </widget>
@@ -1041,28 +1042,32 @@
                                 <property name="column_spacing">12</property>
                                 <property name="row_spacing">6</property>
                                 <child>
-                                  <widget class="GtkLabel" id="lblThrottlingLevel">
+                                  <widget class="GtkHScale" id="scaThrottle">
                                     <property name="visible">True</property>
-                                    <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">Indexing speed:</property>
+                                    <property name="adjustment">0 0 99 1 1 0</property>
+                                    <property name="digits">0</property>
                                     <accessibility>
-                                      <atkrelation target="scaThrottle" type="label-for"/>
+                                      <atkrelation target="lblThrottlingLevel" type="labelled-by"/>
                                     </accessibility>
                                   </widget>
                                   <packing>
-                                    <property name="right_attach">3</property>
-                                    <property name="x_options">GTK_FILL</property>
-                                    <property name="y_options"></property>
+                                    <property name="left_attach">1</property>
+                                    <property name="right_attach">2</property>
+                                    <property name="top_attach">1</property>
+                                    <property name="bottom_attach">2</property>
+                                    <property name="y_options">GTK_FILL</property>
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label24">
+                                  <widget class="GtkLabel" id="label23">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
                                     <property name="yalign">0</property>
-                                    <property name="label" translatable="yes">Faster</property>
+                                    <property name="label" translatable="yes">Slower</property>
                                   </widget>
                                   <packing>
+                                    <property name="left_attach">2</property>
+                                    <property name="right_attach">3</property>
                                     <property name="top_attach">1</property>
                                     <property name="bottom_attach">2</property>
                                     <property name="x_options">GTK_FILL</property>
@@ -1070,15 +1075,13 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label23">
+                                  <widget class="GtkLabel" id="label24">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
                                     <property name="yalign">0</property>
-                                    <property name="label" translatable="yes">Slower</property>
+                                    <property name="label" translatable="yes">Faster</property>
                                   </widget>
                                   <packing>
-                                    <property name="left_attach">2</property>
-                                    <property name="right_attach">3</property>
                                     <property name="top_attach">1</property>
                                     <property name="bottom_attach">2</property>
                                     <property name="x_options">GTK_FILL</property>
@@ -1086,20 +1089,18 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkHScale" id="scaThrottle">
+                                  <widget class="GtkLabel" id="lblThrottlingLevel">
                                     <property name="visible">True</property>
-                                    <property name="adjustment">0 0 99 1 1 0</property>
-                                    <property name="digits">0</property>
+                                    <property name="xalign">0</property>
+                                    <property name="label" translatable="yes">Indexing speed:</property>
                                     <accessibility>
-                                      <atkrelation target="lblThrottlingLevel" type="labelled-by"/>
+                                      <atkrelation target="scaThrottle" type="label-for"/>
                                     </accessibility>
                                   </widget>
                                   <packing>
-                                    <property name="left_attach">1</property>
-                                    <property name="right_attach">2</property>
-                                    <property name="top_attach">1</property>
-                                    <property name="bottom_attach">2</property>
-                                    <property name="y_options">GTK_FILL</property>
+                                    <property name="right_attach">3</property>
+                                    <property name="x_options">GTK_FILL</property>
+                                    <property name="y_options"></property>
                                   </packing>
                                 </child>
                               </widget>
@@ -1256,28 +1257,28 @@
                                   <placeholder/>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label30">
+                                  <widget class="GtkLabel" id="label33">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">Maximum _amount of text to index:</property>
-                                    <property name="use_underline">True</property>
-                                    <property name="mnemonic_widget">spnMaxText</property>
+                                    <property name="label" translatable="yes">kB</property>
                                   </widget>
                                   <packing>
+                                    <property name="left_attach">2</property>
+                                    <property name="right_attach">3</property>
                                     <property name="x_options">GTK_FILL</property>
                                     <property name="y_options"></property>
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label31">
+                                  <widget class="GtkSpinButton" id="spnMaxWords">
                                     <property name="visible">True</property>
-                                    <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">Maximum number of unique _words to index:</property>
-                                    <property name="use_markup">True</property>
-                                    <property name="use_underline">True</property>
-                                    <property name="mnemonic_widget">spnMaxWords</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="adjustment">10000 1000 1000000 100 500 500</property>
+                                    <property name="climb_rate">1</property>
                                   </widget>
                                   <packing>
+                                    <property name="left_attach">1</property>
+                                    <property name="right_attach">2</property>
                                     <property name="top_attach">1</property>
                                     <property name="bottom_attach">2</property>
                                     <property name="x_options">GTK_FILL</property>
@@ -1299,15 +1300,15 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkSpinButton" id="spnMaxWords">
+                                  <widget class="GtkLabel" id="label31">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="adjustment">10000 1000 1000000 100 500 500</property>
-                                    <property name="climb_rate">1</property>
+                                    <property name="xalign">0</property>
+                                    <property name="label" translatable="yes">Maximum number of unique _words to index:</property>
+                                    <property name="use_markup">True</property>
+                                    <property name="use_underline">True</property>
+                                    <property name="mnemonic_widget">spnMaxWords</property>
                                   </widget>
                                   <packing>
-                                    <property name="left_attach">1</property>
-                                    <property name="right_attach">2</property>
                                     <property name="top_attach">1</property>
                                     <property name="bottom_attach">2</property>
                                     <property name="x_options">GTK_FILL</property>
@@ -1315,14 +1316,14 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkLabel" id="label33">
+                                  <widget class="GtkLabel" id="label30">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">kB</property>
+                                    <property name="label" translatable="yes">Maximum _amount of text to index:</property>
+                                    <property name="use_underline">True</property>
+                                    <property name="mnemonic_widget">spnMaxText</property>
                                   </widget>
                                   <packing>
-                                    <property name="left_attach">2</property>
-                                    <property name="right_attach">3</property>
                                     <property name="x_options">GTK_FILL</property>
                                     <property name="y_options"></property>
                                   </packing>
@@ -1376,7 +1377,7 @@
         <child internal-child="action_area">
           <widget class="GtkHButtonBox" id="dialog-action_area1">
             <property name="visible">True</property>
-            <property name="layout_style">GTK_BUTTONBOX_EDGE</property>
+            <property name="layout_style">GTK_BUTTONBOX_END</property>
             <child>
               <widget class="GtkButton" id="cmdHelp">
                 <property name="visible">True</property>



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