removing DEFAULT_PREFS from interface.py.. it is in prefs.py
This commit is contained in:
parent
8392052dc2
commit
f82cb59710
|
@ -29,48 +29,6 @@ import gtk, gtk.glade, gobject
|
||||||
import xdg, xdg.BaseDirectory
|
import xdg, xdg.BaseDirectory
|
||||||
import gettext, locale
|
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:
|
class DelugeGTK:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
APP = 'deluge'
|
APP = 'deluge'
|
||||||
|
|
Loading…
Reference in New Issue