Changeset 1484 for branches/eraser6/6.0
- Timestamp:
- 1/7/2010 12:50:58 AM (3 years ago)
- Location:
- branches/eraser6/6.0/Eraser.DefaultPlugins
- Files:
-
- 2 edited
-
ErasureMethods/FirstLast16KB.cs (modified) (1 diff)
-
SettingsForm.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/6.0/Eraser.DefaultPlugins/ErasureMethods/FirstLast16KB.cs
r1483 r1484 46 46 ManagerLibrary.Settings.DefaultFileErasureMethod); 47 47 else 48 method = ErasureMethodManager.GetInstance( 49 new Guid("1407FC4E-FEFF-4375-B4FB-D7EFBB7E9922")); 48 method = ErasureMethodManager.GetInstance(new Gutmann().Guid); 50 49 } 51 50 catch (ErasureMethodNotFoundException) -
branches/eraser6/6.0/Eraser.DefaultPlugins/SettingsForm.cs
r1478 r1484 58 58 if (fl16MethodCmb.SelectedIndex == -1) 59 59 { 60 Guid defaultMethodGuid =60 Guid methodGuid = 61 61 ManagerLibrary.Settings.DefaultFileErasureMethod; 62 if (methodGuid == new FirstLast16KB().Guid) 63 methodGuid = new Gutmann().Guid; 64 62 65 foreach (object item in fl16MethodCmb.Items) 63 if (((ErasureMethod)item).Guid == defaultMethodGuid)66 if (((ErasureMethod)item).Guid == methodGuid) 64 67 { 65 68 fl16MethodCmb.SelectedItem = item; … … 70 73 if (DefaultPlugin.Settings.EraseCustom != null) 71 74 { 72 customMethods = DefaultPlugin.Settings.EraseCustom; 75 customMethods = new Dictionary<Guid,CustomErasureMethod>( 76 DefaultPlugin.Settings.EraseCustom); 73 77 74 78 //Display the whole set on the list. … … 114 118 { 115 119 CustomErasureMethod method = form.Method; 116 customMethods.Add(method.Guid, method);117 120 addCustomMethods.Add(method); 118 121 AddMethod(method);
Note: See TracChangeset
for help on using the changeset viewer.
