Ticket #97: remove_arbitrary_limits.patch
File remove_arbitrary_limits.patch, 1.1 KB (added by ben@…, 15 years ago) |
---|
-
plugin.py
commit 1cf034cffbd8cbc372c092f2e3733705363752a0 Author: Ben Axnick <baxnick@milamber.axnick.com.au> Date: Wed Mar 19 22:39:24 2008 +1100 Remove arbitrary limitations on scheduler settings diff --git a/plugin.py b/plugin.py index c43bd28..9ac8667 100644
a b class plugin_Scheduler: 110 110 #data 111 111 spin = {} 112 112 boxen = [ 113 ["down", _("Download limit:"), -1, 2048],114 ["up", _("Upload limit:"), -1, 10 24],115 ["activetorrents", _("Active torrents:"), 0, 1 28],116 ["numslots", _("Upload Slots:"), 0, 1 28],117 ["maxconns", _("Max Connections:"), 0, 10 24]]113 ["down", _("Download limit:"), -1, 100000], 114 ["up", _("Upload limit:"), -1, 100000], 115 ["activetorrents", _("Active torrents:"), 0, 10000], 116 ["numslots", _("Upload Slots:"), 0, 10000], 117 ["maxconns", _("Max Connections:"), 0, 10000]] 118 118 119 119 #dialog 120 120 dialog = gtk.Dialog(_("Scheduler Settings"))