From f82cb59710527a11328e62c5d0c1ceecdf0312fe Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 10 Jun 2007 21:36:44 +0000 Subject: [PATCH] removing DEFAULT_PREFS from interface.py.. it is in prefs.py --- src/interface.py | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/src/interface.py b/src/interface.py index e028ffdf7..61929ba6a 100644 --- a/src/interface.py +++ b/src/interface.py @@ -29,48 +29,6 @@ import gtk, gtk.glade, gobject import xdg, xdg.BaseDirectory import gettext, locale -DEFAULT_PREFS = { - "encin_state" : common.EncState.enabled, - "encout_state" : common.EncState.enabled, - "enclevel_type" : common.EncLevel.both, - "pref_rc4" : True, - "auto_end_seeding" : False, - "close_to_tray" : False, - "lock_tray" : False, - "tray_passwd" : "", - "default_download_path" : "", - "dht_connections" : 80, - "enable_dht" : True, - "enable_system_tray" : True, - "enabled_plugins" : "", - "end_seed_ratio" : 0.0, - "gui_update_interval" : 1.0, - "max_download_rate" : -1.0, - "max_number_downloads" : -1.0, - "max_number_torrents" : -1.0, - "max_number_uploads" : -1.0, - "max_upload_rate" : -1.0, - "queue_seeds_to_bottom" : False, - "show_dl" : True, - "show_eta" : True, - "show_infopane" : True, - "show_peers" : True, - "show_seeders" : True, - "show_share" : True, - "show_size" : True, - "show_status" : True, - "show_toolbar" : True, - "show_ul" : True, - "tcp_port_range_lower" : 6881, - "tcp_port_range_upper" : 6889, - "use_compact_storage" : False, - "use_default_dir" : False, - "window_height" : 480, - "window_width" : 640, - "window_x_pos" : 0, - "window_y_pos" : 0, - } - class DelugeGTK: def __init__(self): APP = 'deluge'