Remove unneeded old 'public' option code
This commit is contained in:
parent
0a001f98e3
commit
f66274fd9d
|
@ -157,13 +157,7 @@ DEFAULT_PREFS = {
|
|||
class PreferencesManager(component.Component):
|
||||
def __init__(self):
|
||||
component.Component.__init__(self, "PreferencesManager")
|
||||
|
||||
self.config = deluge.configmanager.ConfigManager("core.conf", DEFAULT_PREFS)
|
||||
if 'public' in self.config:
|
||||
log.debug("Updating configuration file: Renamed torrent's public "
|
||||
"attribute to shared.")
|
||||
self.config["shared"] = self.config["public"]
|
||||
del self.config["public"]
|
||||
|
||||
def start(self):
|
||||
self.core = component.get("Core")
|
||||
|
|
|
@ -306,7 +306,6 @@ class TorrentView(listview.ListView, component.Component):
|
|||
function=funcs.cell_data_trackericon, default=False)
|
||||
self.add_text_column(_("Save Path"), status_field=["save_path"], default=False)
|
||||
self.add_text_column(_("Owner"), status_field=["owner"], default=False)
|
||||
self.add_bool_column(_("Public"), status_field=["public"], default=False)
|
||||
self.restore_columns_order_from_state()
|
||||
self.add_bool_column(_("Shared"), status_field=["shared"],
|
||||
tooltip=_("Torrent is shared between other Deluge "
|
||||
|
|
Loading…
Reference in New Issue