[tracker] Bug 613819 - Indexing Limitations section is confusing



commit b5a5227b16389a6874a862616d7b9937e2ef9bbe
Author: Michael Natterer <mitch gimp org>
Date:   Tue Mar 30 13:53:09 2010 +0200

    Bug 613819 - Indexing Limitations section is confusing
    
    Redo indexing limitation section according to the discussion in the
    bug.

 src/tracker-preferences/tracker-preferences.ui |  162 ++++++++++--------------
 1 files changed, 69 insertions(+), 93 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.ui b/src/tracker-preferences/tracker-preferences.ui
index 24043f6..3f99d7a 100644
--- a/src/tracker-preferences/tracker-preferences.ui
+++ b/src/tracker-preferences/tracker-preferences.ui
@@ -402,7 +402,7 @@
                     <child>
                       <object class="GtkAlignment" id="alignment7">
                         <property name="visible">True</property>
-                        <property name="top_padding">6</property>
+                        <property name="top_padding">2</property>
                         <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="vbox_general1">
@@ -413,116 +413,98 @@
                                 <property name="visible">True</property>
                                 <property name="orientation">vertical</property>
                                 <child>
-                                  <object class="GtkHBox" id="hbox_disk_space_limit">
+                                  <object class="GtkLabel" id="label_disk_space_limit">
                                     <property name="visible">True</property>
-                                    <property name="spacing">12</property>
-                                    <child>
-                                      <object class="GtkLabel" id="label_disk_space_limit">
-                                        <property name="visible">True</property>
-                                        <property name="xalign">0</property>
-                                        <property name="yalign">0</property>
-                                        <property name="label" translatable="yes">_Disk space:</property>
-                                        <property name="use_underline">True</property>
-                                        <property name="mnemonic_widget">hscale_disk_space_limit</property>
-                                      </object>
-                                      <packing>
-                                        <property name="expand">False</property>
-                                        <property name="position">0</property>
-                                      </packing>
-                                    </child>
-                                    <child>
-                                      <object class="GtkHScale" id="hscale_disk_space_limit">
-                                        <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="adjustment">adjustment_disk_space_limit</property>
-                                        <property name="digits">0</property>
-                                        <signal name="format_value" handler="hscale_disk_space_limit_format_value_cb"/>
-                                      </object>
-                                      <packing>
-                                        <property name="position">1</property>
-                                      </packing>
-                                    </child>
+                                    <property name="xalign">0</property>
+                                    <property name="yalign">0</property>
+                                    <property name="ypad">4</property>
+                                    <property name="label" translatable="yes">Stop indexing when _disk space is below:</property>
+                                    <property name="use_underline">True</property>
+                                    <property name="mnemonic_widget">hscale_disk_space_limit</property>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>
-                                    <property name="padding">12</property>
                                     <property name="position">0</property>
                                   </packing>
                                 </child>
                                 <child>
-                                  <object class="GtkHBox" id="hbox_throttle">
+                                  <object class="GtkHScale" id="hscale_disk_space_limit">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="adjustment">adjustment_disk_space_limit</property>
+                                    <property name="digits">0</property>
+                                    <signal name="format_value" handler="hscale_disk_space_limit_format_value_cb"/>
+                                  </object>
+                                  <packing>
+                                    <property name="position">1</property>
+                                  </packing>
+                                </child>
+                                <child>
+                                  <object class="GtkLabel" id="label_throttle">
                                     <property name="visible">True</property>
-                                    <property name="spacing">12</property>
+                                    <property name="xalign">0</property>
+                                    <property name="yalign">0</property>
+                                    <property name="ypad">4</property>
+                                    <property name="label" translatable="yes">Indexing s_peed (faster consumes more resources):</property>
+                                    <property name="use_underline">True</property>
+                                    <property name="mnemonic_widget">hscale_throttle</property>
+                                  </object>
+                                  <packing>
+                                    <property name="expand">False</property>
+                                    <property name="position">2</property>
+                                  </packing>
+                                </child>
+                                <child>
+                                  <object class="GtkTable" id="table_throttle">
+                                    <property name="visible">True</property>
+                                    <property name="n_rows">2</property>
+                                    <property name="n_columns">2</property>
+                                    <property name="column_spacing">12</property>
+                                    <property name="row_spacing">4</property>
                                     <child>
-                                      <object class="GtkLabel" id="label_throttle">
+                                      <object class="GtkLabel" id="label_slower">
+                                        <property name="visible">True</property>
+                                        <property name="xalign">1</property>
+                                        <property name="label" translatable="yes">Faster</property>
+                                        <property name="justify">right</property>
+                                      </object>
+                                      <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"></property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <object class="GtkLabel" id="label_faster">
                                         <property name="visible">True</property>
                                         <property name="xalign">0</property>
-                                        <property name="yalign">0</property>
-                                        <property name="label" translatable="yes">Thr_ottle:</property>
-                                        <property name="use_underline">True</property>
-                                        <property name="mnemonic_widget">hscale_throttle</property>
+                                        <property name="label" translatable="yes">Slower</property>
                                       </object>
                                       <packing>
-                                        <property name="expand">False</property>
-                                        <property name="position">0</property>
+                                        <property name="top_attach">1</property>
+                                        <property name="bottom_attach">2</property>
+                                        <property name="y_options"></property>
                                       </packing>
                                     </child>
                                     <child>
-                                      <object class="GtkTable" id="table_throttle">
+                                      <object class="GtkHScale" id="hscale_throttle">
                                         <property name="visible">True</property>
-                                        <property name="n_rows">2</property>
-                                        <property name="n_columns">2</property>
-                                        <property name="column_spacing">12</property>
-                                        <property name="row_spacing">6</property>
-                                        <child>
-                                          <object class="GtkLabel" id="label_slower">
-                                            <property name="visible">True</property>
-                                            <property name="xalign">1</property>
-                                            <property name="label" translatable="yes">Slower</property>
-                                            <property name="justify">right</property>
-                                          </object>
-                                          <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"></property>
-                                          </packing>
-                                        </child>
-                                        <child>
-                                          <object class="GtkLabel" id="label_faster">
-                                            <property name="visible">True</property>
-                                            <property name="xalign">0</property>
-                                            <property name="label" translatable="yes">Faster</property>
-                                          </object>
-                                          <packing>
-                                            <property name="top_attach">1</property>
-                                            <property name="bottom_attach">2</property>
-                                            <property name="y_options"></property>
-                                          </packing>
-                                        </child>
-                                        <child>
-                                          <object class="GtkHScale" id="hscale_throttle">
-                                            <property name="visible">True</property>
-                                            <property name="can_focus">True</property>
-                                            <property name="adjustment">adjustment_throttle</property>
-                                            <property name="digits">0</property>
-                                            <signal name="format_value" handler="hscale_throttle_format_value_cb"/>
-                                          </object>
-                                          <packing>
-                                            <property name="right_attach">2</property>
-                                          </packing>
-                                        </child>
+                                        <property name="can_focus">True</property>
+                                        <property name="adjustment">adjustment_throttle</property>
+                                        <property name="inverted">True</property>
+                                        <property name="digits">0</property>
+                                        <property name="draw_value">False</property>
+                                        <signal name="format_value" handler="hscale_throttle_format_value_cb"/>
                                       </object>
                                       <packing>
-                                        <property name="position">1</property>
+                                        <property name="right_attach">2</property>
                                       </packing>
                                     </child>
                                   </object>
                                   <packing>
-                                    <property name="expand">False</property>
-                                    <property name="padding">6</property>
-                                    <property name="position">1</property>
+                                    <property name="position">3</property>
                                   </packing>
                                 </child>
                               </object>
@@ -1315,10 +1297,4 @@ Most commonly this is used to ignore directories like *~, *.o, *.la, etc</proper
     <property name="upper">1000</property>
     <property name="step_increment">1</property>
   </object>
-  <object class="GtkSizeGroup" id="sizegroup_indexing">
-    <widgets>
-      <widget name="label_disk_space_limit"/>
-      <widget name="label_throttle"/>
-    </widgets>
-  </object>
 </interface>



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