Revision 0eea575a trunk/Pithos.ShellExtensions/ShellExtLib.cs
b/trunk/Pithos.ShellExtensions/ShellExtLib.cs | ||
---|---|---|
241 | 241 |
|
242 | 242 |
public static void MarkApproved(Guid guid, string friendlyName) |
243 | 243 |
{ |
244 |
Trace.Write(String.Format("Marking approved {0} {1}", guid, friendlyName));
|
|
244 |
Debug.WriteLine(String.Format("Marking approved {0} {1}", guid, friendlyName), LogCategories.Shell);
|
|
245 | 245 |
using (RegistryKey key = Registry.LocalMachine.OpenSubKey(_approvedKey)) |
246 | 246 |
{ |
247 | 247 |
// Set the default value of the key. |
... | ... | |
251 | 251 |
} |
252 | 252 |
else |
253 | 253 |
{ |
254 |
Trace.Write("Error - failed to open key " + _approvedKey);
|
|
254 |
Debug.WriteLine("Error - failed to open key " + _approvedKey,LogCategories.Shell);
|
|
255 | 255 |
} |
256 | 256 |
} |
257 | 257 |
} |
... | ... | |
267 | 267 |
} |
268 | 268 |
else |
269 | 269 |
{ |
270 |
Trace.Write("Error - failed to open key " + _approvedKey);
|
|
270 |
Debug.WriteLine("Error - failed to open key " + _approvedKey, LogCategories.Shell);
|
|
271 | 271 |
} |
272 | 272 |
} |
273 | 273 |
} |
Also available in: Unified diff