From 3aca2fa33ce64ade1e4fa8442bc7ff3585874520 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 21 Jan 2008 22:53:24 +0000 Subject: [PATCH] use get_default_download_dir() for move torrent pref --- deluge/ui/gtkui/gtkui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index fb7638211..3baf7897d 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -42,7 +42,6 @@ import gettext import locale import pkg_resources import signal -import os.path import deluge.component as component import deluge.ui.client as client @@ -95,7 +94,7 @@ DEFAULT_PREFS = { "autoadd_queued": False, "autoadd_enable": False, "autoadd_location": "", - "choose_directory_dialog_path": os.path.expanduser("~") + "choose_directory_dialog_path": deluge.common.get_default_download_dir() } class GtkUI: