Revision 5120f3cb trunk/Pithos.ShellExtensions/Menus/FileContextMenu.cs
b/trunk/Pithos.ShellExtensions/Menus/FileContextMenu.cs | ||
---|---|---|
371 | 371 |
|
372 | 372 |
if (!NativeMethods.InsertMenu(hMenu, idCmdFirst, MF.MF_SEPARATOR | MF.MF_BYPOSITION, 0, String.Empty)) |
373 | 373 |
{ |
374 |
Trace.TraceError("Error adding separator 1\r\n{0}", Marshal.GetLastWin32Error());
|
|
374 |
Log.ErrorFormat("Error adding separator 1\r\n{0}", Marshal.GetLastWin32Error());
|
|
375 | 375 |
return Marshal.GetHRForLastWin32Error(); |
376 | 376 |
} |
377 | 377 |
|
... | ... | |
402 | 402 |
sep.fType = MFT.MFT_SEPARATOR;*/ |
403 | 403 |
if (!NativeMethods.InsertMenu(hMenu, (uint)_items.Values.Count + idCmdFirst+1,MF.MF_SEPARATOR|MF.MF_BYPOSITION, 0, String.Empty)) |
404 | 404 |
{ |
405 |
Trace.TraceError("Error adding separator 1\r\n{0}", Marshal.GetLastWin32Error());
|
|
405 |
Log.ErrorFormat("Error adding separator 1\r\n{0}", Marshal.GetLastWin32Error());
|
|
406 | 406 |
return Marshal.GetHRForLastWin32Error(); |
407 | 407 |
} |
408 | 408 |
|
Also available in: Unified diff