Some more smart preferences tweaks. Thanks, eternalswd.

This commit is contained in:
Alex Dedul 2007-07-18 03:41:26 +00:00
parent 0cbb9b49cf
commit a3acf0aed9
2 changed files with 4 additions and 2 deletions

View File

@ -293,7 +293,7 @@
<property name="label" translatable="yes">Queue torrents to bottom when they begin seeding</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_chk_seedbottom"/>
<signal name="toggled" handler="toggle_ui"/>
</widget>
</child>
<child>

View File

@ -179,7 +179,9 @@ class PreferencesDlg:
self.glade.get_widget('finished_path_button').set_sensitive(value)
elif widget == self.glade.get_widget('chk_autoseed'):
self.glade.get_widget('ratio_spinner').set_sensitive(value)
self.glade.get_widget('chk_clear_max_ratio_torrents').set_sensitive(value)
self.glade.get_widget('chk_clear_max_ratio_torrents').set_sensitive(value)
elif widget == self.glade.get_widget('chk_seedbottom'):
self.glade.get_widget('chk_queue_above_completed').set_sensitive(value)
elif widget == self.glade.get_widget('chk_peer_proxy') or \
widget == self.glade.get_widget('chk_tracker_proxy') or \
widget == self.glade.get_widget('chk_dht_proxy'):