mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
pref fixes
This commit is contained in:
parent
35ca1e9dcd
commit
8e7e46c856
3 changed files with 2 additions and 4 deletions
|
@ -474,7 +474,7 @@
|
|||
<property name="n_rows">2</property>
|
||||
<property name="n_columns">2</property>
|
||||
<child>
|
||||
<widget class="GtkCheckButton" id="chk_dht1">
|
||||
<widget class="GtkCheckButton" id="chk_dht">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
|
@ -497,7 +497,7 @@
|
|||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="GtkSpinButton" id="spin_dht1">
|
||||
<widget class="GtkSpinButton" id="spin_dht">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
|
|
|
@ -57,7 +57,6 @@ class PreferencesDlg:
|
|||
self.glade.get_widget("spin_num_upload").set_value(self.preferences.get("max_number_uploads", int, default=-1))
|
||||
self.glade.get_widget("spin_max_download").set_value(self.preferences.get("max_download_rate", int, default=-1))
|
||||
self.glade.get_widget("spin_num_download").set_value(self.preferences.get("max_number_downloads", int, default=-1))
|
||||
|
||||
self.glade.get_widget("spin_torrents").set_value(self.preferences.get("max_number_torrents", int, default=-1))
|
||||
self.glade.get_widget("chk_seedbottom").set_active(self.preferences.get("queue_seeds_to_bottom", bool, default=False))
|
||||
self.glade.get_widget("chk_dht").set_active(self.preferences.get("enable_dht", bool, default=True))
|
||||
|
|
|
@ -34,7 +34,6 @@ DEFAULT_PREFS = {
|
|||
"close_to_tray" : False,
|
||||
"lock_tray" : False,
|
||||
"tray_passwd" : "",
|
||||
"default_download_path" : "",
|
||||
"default_download_path" : "",
|
||||
"dht_connections" : 80,
|
||||
"enable_dht" : True,
|
||||
|
|
Loading…
Add table
Reference in a new issue