From: <sir...@us...> - 2003-03-29 15:31:56
|
Update of /cvsroot/btplusplus/BT++/src/DlgPref In directory sc8-pr-cvs1:/tmp/cvs-serv32068/src/DlgPref Modified Files: DlgPref.py Log Message: - Added strict hashing config option. - Fixed upload limit updating (after pref change). Index: DlgPref.py =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/DlgPref/DlgPref.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DlgPref.py 9 Mar 2003 12:10:02 -0000 1.3 --- DlgPref.py 29 Mar 2003 15:31:54 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- from Validators import ValidatorAlpha from Controls import * + from Managers import ManagerUp,ManagerDown class DlgPref(wxDialog): *************** *** 38,41 **** --- 39,46 ---- Config.Save() + + ManagerUp .SetUpSpeed( Config.Get('Download','MaxSpeedUp') ) + ManagerDown.SetUpSpeed( Config.Get('Download','MaxSpeedUp') ) + self.EndModal(0) *************** *** 99,103 **** wxStaticBox(self, -1, 'Uploading', wxPoint(5, 92), wxSize(314,36)) wxStaticBox(self, -1, 'Transfer Limits', wxPoint(5,133), wxSize(314,41)) ! wxStaticBox(self, -1, 'Hashing', wxPoint(5,179), wxSize(314,62)) # Downloading --- 104,108 ---- wxStaticBox(self, -1, 'Uploading', wxPoint(5, 92), wxSize(314,36)) wxStaticBox(self, -1, 'Transfer Limits', wxPoint(5,133), wxSize(314,41)) ! wxStaticBox(self, -1, 'Hashing', wxPoint(5,179), wxSize(314,82)) # Downloading *************** *** 141,146 **** help = 'If checked hashing will occur as a background process.' ) PrefTextCtrl( self, ! wxPoint(10,214), wxSize(25,20), ['Hash', 'NumSimHash'], 'Max. simultaneous files hashed (1 - 5)', --- 146,157 ---- help = 'If checked hashing will occur as a background process.' ) + PrefCheckBox( self, + wxPoint(12,216), + ['Hash', 'Strict'], + 'Strict starting of hashing.', + help = 'If checked only the set number of files will be hashed, never more.' ) + PrefTextCtrl( self, ! wxPoint(10,234), wxSize(25,20), ['Hash', 'NumSimHash'], 'Max. simultaneous files hashed (1 - 5)', |