Ticket #1925: consoleui_autoadd_configuration_commented_out.patch

File consoleui_autoadd_configuration_commented_out.patch, 2.0 KB (added by OmegaPhil, 12 years ago)

Comment out autoadd configuration in console UI

  • deluge/ui/console/modes/preference_panes.py

    From 08046ff3792721d34ab2ab1c3656bd26bebfe4e8 Mon Sep 17 00:00:00 2001
    From: Omega Weapon <omega@omega1.(none)>
    Date: Thu, 11 Aug 2011 21:31:49 +0100
    Subject: [PATCH] Commented out autoadd configuration options - should be configured in plugin
    
    ---
     deluge/ui/console/modes/preference_panes.py |    5 +++--
     1 files changed, 3 insertions(+), 2 deletions(-)
    
    diff --git a/deluge/ui/console/modes/preference_panes.py b/deluge/ui/console/modes/preference_panes.py
    index 8644210..e23d644 100644
    a b def __init__(self, offset, parent, width): 
    224224        self.add_text_input("download_location","Download To:",parent.core_config["download_location"]) 
    225225        cmptxt = TextInput(self.parent,self.move,self.width,None,"move_completed_path",parent.core_config["move_completed_path"],False) 
    226226        self.add_checkedplus_input("move_completed","Move completed to:",cmptxt,parent.core_config["move_completed"]) 
    227         autotxt = TextInput(self.parent,self.move,self.width,None,"autoadd_location",parent.core_config["autoadd_location"],False) 
    228         self.add_checkedplus_input("autoadd_enable","Auto add .torrents from:",autotxt,parent.core_config["autoadd_enable"]) 
     227        # TODO: Autoadd functionality is now in a plugin - this must be configured elsewhere 
     228        #autotxt = TextInput(self.parent,self.move,self.width,None,"autoadd_location",parent.core_config["autoadd_location"],False) 
     229        #self.add_checkedplus_input("autoadd_enable","Auto add .torrents from:",autotxt,parent.core_config["autoadd_enable"]) 
    229230        copytxt = TextInput(self.parent,self.move,self.width,None,"torrentfiles_location",parent.core_config["torrentfiles_location"],False) 
    230231        self.add_checkedplus_input("copy_torrent_file","Copy of .torrent files to:",copytxt,parent.core_config["copy_torrent_file"]) 
    231232        self.add_checked_input("del_copy_torrent_file","Delete copy of torrent file on remove",parent.core_config["del_copy_torrent_file"])