fix gtk labels

This commit is contained in:
Martijn Voncken 2008-11-17 19:52:02 +00:00
parent 06c4f7af69
commit 52c6cce6b3
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,6 @@ LABEL = "label"
CONFIG_DEFAULTS = {
"torrent_labels":{}, #torrent_id:label_id
"labels":{}, #label_id:{name:value}
"auto_add_trackers":[]
}
CORE_OPTIONS = ["auto_add_trackers"]
@ -73,7 +72,8 @@ OPTIONS_DEFAULTS = {
"apply_move_completed":False,
"move_completed":False,
"move_completed_path":"",
"auto_add":False
"auto_add":False,
"auto_add_trackers":[]
}
NO_LABEL = "No Label"

View File

@ -49,8 +49,8 @@ class options:
@api.deco.deluge_page
def GET(self, label_id):
options_form = OptionsForm()
options = sclient.label_get_options(label_id)
options_form = OptionsForm(options)
return api.render.label.options(label_id, options_form)
class add: