Changeset 113 for trunk/NewView/SettingsUnit.pas
- Timestamp:
- Apr 25, 2007, 10:29:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NewView/SettingsUnit.pas
r83 r113 97 97 FileDialogSplit: real; 98 98 99 // C Olours99 // Colours 100 100 Colors: array[ 0..NumColorSettings - 1 ] of TColor; 101 101 … … 141 141 FileUtilsUnit, 142 142 ACLUtility, 143 ACLStringUtility,143 StringUtilsUnit, 144 144 ControlsUtility; 145 145 … … 267 267 MRUItem := TMRUItem.Create; 268 268 MRUItem.Title := MRUFileTitle; 269 StringToList( MRUFilename, 270 MRUItem.Filenames, 271 '+' ); 269 270 StrExtractStrings(MRUItem.Filenames, MRUFilename, ['+'], #0); 272 271 MRUList.Add( MRUItem ); 273 272 end; … … 345 344 // Index style 346 345 SettingString := ReadString( GeneralSection, 'IndexStyle', 'Full' ); 347 if Str ingsSame( SettingString, 'FileOnly' ) then346 if StrEqualIgnoringCase( SettingString, 'FileOnly' ) then 348 347 IndexStyle := isFileOnly 349 else if Str ingsSame( SettingString, 'Alphabetical' ) then348 else if StrEqualIgnoringCase( SettingString, 'Alphabetical' ) then 350 349 IndexStyle := isAlphabetical 351 350 else … … 361 360 SettingString := ReadString( GeneralSection, 'ToolbarStyle', 'ImagesAndText' ); 362 361 363 if Str ingsSame( SettingString, 'None' ) then362 if StrEqualIgnoringCase( SettingString, 'None' ) then 364 363 ToolbarStyle := tsNone 365 else if Str ingsSame( SettingString, 'Images' ) then364 else if StrEqualIgnoringCase( SettingString, 'Images' ) then 366 365 ToolbarStyle := tsImages 367 else if Str ingsSame( SettingString, 'Text' ) then366 else if StrEqualIgnoringCase( SettingString, 'Text' ) then 368 367 ToolbarStyle := tsText 369 368 else … … 389 388 'Location', 390 389 'HelpPaths' ); 391 if Str ingsSame( SettingString, 'HelpPaths' ) then390 if StrEqualIgnoringCase( SettingString, 'HelpPaths' ) then 392 391 GlobalSearchLocation := gsHelpPaths 393 else if Str ingsSame( SettingString, 'FixedDrives' ) then392 else if StrEqualIgnoringCase( SettingString, 'FixedDrives' ) then 394 393 GlobalSearchLocation := gsFixedDrives 395 else if Str ingsSame( SettingString, 'SelectedHelpPaths' ) then394 else if StrEqualIgnoringCase( SettingString, 'SelectedHelpPaths' ) then 396 395 GlobalSearchLocation := gsSelectedHelpPaths 397 396 else
Note:
See TracChangeset
for help on using the changeset viewer.