Module: deluge
Branch: master
Commit: 2d59b62317f0f46c32fa00dfe026464b12250f2f

Author: Pedro Algarvio <[email protected]>
Date:   Tue May  3 15:45:01 2011 +0100

Provide the option to the user to use the pieces bar or not(Glade file only).

---

 deluge/ui/gtkui/glade/preferences_dialog.glade |   29 +++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/gtkui/glade/preferences_dialog.glade 
b/deluge/ui/gtkui/glade/preferences_dialog.glade
index 9dfb2c5..9c41900 100644
--- a/deluge/ui/gtkui/glade/preferences_dialog.glade
+++ b/deluge/ui/gtkui/glade/preferences_dialog.glade
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <glade-interface>
-  <!-- interface-requires gtk+ 2.16 -->
+  <!-- interface-requires gtk+ 2.24 -->
   <!-- interface-naming-policy toplevel-contextual -->
   <widget class="GtkDialog" id="pref_dialog">
     <property name="can_focus">False</property>
@@ -2237,6 +2237,33 @@ Disabled</property>
                                             <property 
name="position">0</property>
                                           </packing>
                                         </child>
+                                        <child>
+                                          <widget class="GtkCheckButton" 
id="piecesbar_toggle">
+                                            <property 
name="visible">True</property>
+                                            <property 
name="can_focus">True</property>
+                                            <property 
name="receives_default">False</property>
+                                            <property name="tooltip" 
translatable="yes">Besides being experimental, using the pieces bar
+will increase the bandwidth used between client
+and daemon(does not apply in classic mode).
+Use at your own risk if you wish to help us debug
+this new feature.</property>
+                                            <property 
name="use_action_appearance">False</property>
+                                            <property 
name="draw_indicator">True</property>
+                                            <child>
+                                              <widget class="GtkLabel" 
id="label62">
+                                                <property 
name="visible">True</property>
+                                                <property 
name="can_focus">False</property>
+                                                <property name="label" 
translatable="yes">Show pieces bar instead of the progress bar 
(&lt;b&gt;EXPERIMENTAL!!!&lt;/b&gt;)</property>
+                                                <property 
name="use_markup">True</property>
+                                              </widget>
+                                            </child>
+                                          </widget>
+                                          <packing>
+                                            <property 
name="expand">True</property>
+                                            <property 
name="fill">True</property>
+                                            <property 
name="position">1</property>
+                                          </packing>
+                                        </child>
                                       </widget>
                                     </child>
                                   </widget>

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to