Changeset 1664 for trunk/dll/seeall.c
- Timestamp:
- Aug 5, 2012, 2:11:07 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/seeall.c
r1559 r1664 51 51 17 Jan 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 52 52 01 Dec 10 SHL Ensure FindAllThread thread quits fast when requested 53 04 Aug 12 GKY Changes to use Unlock to unlock files if Unlock.exe is in path both from menu/toolbar and as part of 54 copy, move and delete operations 55 04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog 56 for delete of readonly files 53 57 54 58 ***********************************************************************/ … … 870 874 for (x = 0; list[x]; x++) 871 875 UUD(list[x], NULL); 872 break; 876 break; 877 878 case IDM_UNLOCKFILE: 879 for (x = 0; list[x]; x++) { 880 if (IsFile(list[x]) > 0 && fUnlock) { 881 runemf2(SEPARATE | INVISIBLE | BACKGROUND | WAIT, 882 HWND_DESKTOP, pszSrcFile, __LINE__, 883 NULL, NULL, "%s %s", PCSZ_UNLOCKEXE, list[x]); 884 } 885 } 886 break; 873 887 874 888 case IDM_EXTRACT: … … 1077 1091 if (error) { 1078 1092 DosError(FERR_DISABLEHARDERR); 1079 make_deleteable(list[x] );1093 make_deleteable(list[x], error); 1080 1094 if (SHORT1FROMMP(mp1) == IDM_DELETE) 1081 1095 error = DosDelete(list[x]); … … 3387 3401 pAD->selected != 0)); 3388 3402 WinEnableMenuItem(pAD->hwndPopup, IDM_UUDECODE, (rc == 0 && 3403 pAD->selected != 0)); 3404 WinEnableMenuItem(pAD->hwndPopup, IDM_UNLOCKFILE, (rc == 0 && fUnlock && 3389 3405 pAD->selected != 0)); 3390 3406 WinEnableMenuItem(pAD->hwndPopup, IDM_EXTRACT, (rc == 0 && … … 3862 3878 (rc == 0 && pAD->selected != 0)); 3863 3879 WinEnableMenuItem((HWND) mp2, IDM_UUDECODE, 3864 (rc == 0 && pAD->selected != 0)); 3880 (rc == 0 && pAD->selected != 0)); 3881 WinEnableMenuItem((HWND) mp2, IDM_UNLOCKFILE, 3882 (rc == 0 && fUnlock && pAD->selected != 0)); 3865 3883 WinEnableMenuItem((HWND) mp2, IDM_EXTRACT, 3866 3884 (rc == 0 && pAD->selected != 0)); … … 4216 4234 case IDM_EXTRACT: 4217 4235 case IDM_UUDECODE: 4236 case IDM_UNLOCKFILE: 4218 4237 case IDM_SHADOW: 4219 4238 case IDM_OBJECT: … … 4275 4294 case IDM_OPENSETTINGS: 4276 4295 case IDM_OPENDEFAULT: 4277 case IDM_UUDECODE: 4296 case IDM_UUDECODE: 4297 case IDM_UNLOCKFILE: 4278 4298 { 4279 4299 CHAR **list = BuildAList(hwnd); … … 4307 4327 case IDM_ARCHIVE: 4308 4328 case IDM_EXTRACT: 4309 case IDM_UUDECODE: 4329 case IDM_UUDECODE: 4330 case IDM_UNLOCKFILE: 4310 4331 case IDM_OBJECT: 4311 4332 case IDM_SHADOW:
Note:
See TracChangeset
for help on using the changeset viewer.