mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-28 20:25:10 +00:00
classic mode default on win
This commit is contained in:
parent
5a8662ae03
commit
382f9cf614
@ -95,11 +95,15 @@ DEFAULT_PREFS = {
|
|||||||
"autoadd_enable": False,
|
"autoadd_enable": False,
|
||||||
"autoadd_location": "",
|
"autoadd_location": "",
|
||||||
"choose_directory_dialog_path": deluge.common.get_default_download_dir(),
|
"choose_directory_dialog_path": deluge.common.get_default_download_dir(),
|
||||||
"classic_mode": False,
|
|
||||||
"show_new_releases": True,
|
"show_new_releases": True,
|
||||||
"signal_port": 40000
|
"signal_port": 40000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if deluge.common.windows_check():
|
||||||
|
DEFAULT_PREFS['classic_mode'] = True
|
||||||
|
else:
|
||||||
|
DEFAULT_PREFS['classic_mode'] = False
|
||||||
|
|
||||||
class GtkUI:
|
class GtkUI:
|
||||||
def __init__(self, args):
|
def __init__(self, args):
|
||||||
# Initialize gdk threading
|
# Initialize gdk threading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user