Changeset 661 for trunk/guitools/evfsgui/evfsgui.vrx
- Timestamp:
- Nov 11, 2011, 9:45:52 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/guitools/evfsgui/evfsgui.vrx (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/evfsgui/evfsgui.vrx
r660 r661 692 692 CALL NLVSetText 'Menu_File_SAVE', "Caption", 30 693 693 CALL NLVSetText 'Menu_File_LMHosts_Reset', "Caption", 127 694 CALL NLVSetText 'Menu_File_ucCred_Reset', "Caption", 128 694 695 CALL NLVSetText 'Menu_File_Autostart', "Caption", 35 695 696 CALL NLVSetText 'Menu_File_Autostart_Activate', "Caption", 76 … … 1356 1357 */ 1357 1358 _SmbConfCreateShadowCopy: 1359 IF options.!debug == 1 THEN SAY time()' _SmbConfCreateShadowCopy started' 1358 1360 /* we create a complete version of smb.conf in temporary directory for reading purposes */ 1359 1361 /* as we can only determine a default value from this complete version of the file */ 1360 1362 /* however it is not desirable to always have a complete copy normally */ 1361 1363 ok = SysFileDelete(samba.!shadowsmbconf) 1362 say samba.!testparmexe' -v -s 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr'1364 say ' 'samba.!testparmexe' -v -s 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr' 1363 1365 address cmd samba.!testparmexe' -v -s 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr' 1366 IF options.!debug == 1 THEN SAY time()' _SmbConfCreateShadowCopy done' 1364 1367 return 1365 1368 … … 1448 1451 icons.!folder = '#26:PMWP.DLL' 1449 1452 icons.!folder_open = '#34:PMWP.DLL' 1453 icons.!machine_awake = '#35:PMWP.DLL' 1450 1454 icons.!machine_sleeping = '#61:PMWP.DLL' 1455 icons.!workgroup = '#62:PMWP.DLL' 1456 icons.!pdc = '#63:PMWP.DLL' 1451 1457 icons.!active = '#64:PMWP.DLL' 1452 1458 icons.!passive = '#68:PMWP.DLL' … … 1514 1520 */ 1515 1521 _UserCredUpdate: 1522 IF options.!debug == 1 THEN SAY time()' _UserCredUpdate started' 1516 1523 credentials.!username = VRGet("EF_USER","Value") 1517 1524 credentials.!password = VRGet("EF_PASSWORD","Value") … … 1526 1533 end 1527 1534 else call beep 200, 20 1535 IF options.!debug == 1 THEN SAY time()' _UserCredUpdate done' 1528 1536 return 1529 1537 … … 3052 3060 Menu_File_LMHosts_Reset_Click: 3053 3061 ok = SysFileDelete(samba.!lmhosts) 3062 /* FIXME: Add a message box here */ 3054 3063 return 3055 3064 … … 3110 3119 Menu_File_Save_Click: 3111 3120 call PB_CONDET_SAVE_Click 3121 return 3122 3123 /*:VRX Menu_File_ucCred_Reset_Click 3124 */ 3125 Menu_File_ucCred_Reset_Click: 3126 ok = _ucDelUc() 3127 /* FIXME: Add a message box here */ 3112 3128 return 3113 3129 … … 4497 4513 SW_LOGIN_Create: 4498 4514 call SW_LOGIN_Init 4515 ok = VRSet("SW_LOGIN","Caption",NLVGetMessage(136)' 'strip(p_workgroup' \\'p_server'\'p_share,'T','\')) 4499 4516 CALL NLVSetText 'DT_USER1', "Caption", 25 4500 4517 CALL NLVSetText 'DT_PASSWORD1', "Caption", 26 … … 4503 4520 CALL NLVSetText 'PB_LOGIN_CANCEL',"Caption", 3 4504 4521 4505 /* ok = VRSet("Pict_Login","PicturePath", SMBObj.icon) */ 4522 select 4523 when pos("PDC",VRMethod("CN_smbtree", "GetFieldData", SMBObj.rh, MBFH)) > 0 then LoginIcon = "#63:PMWP.DLL" /* icons.!pdc */ 4524 when SMBObj.udatatype = "WORKGROUP" then LoginIcon = SMBObj.Icon 4525 when SMBObj.udatatype = "SERVER" then LoginIcon = SMBObj.Icon 4526 otherwise LoginIcon = "#35:PMWP.DLL" /* icons.!machine_awake */ 4527 end 4528 say loginicon 4529 ok = VRSet("Pict_Login","PicturePath", LoginIcon) 4506 4530 ok = VRSet("EF_USER1","Value",VRGet("EF_USER","Value")) 4507 4531 ok = VRSet("EF_PASSWORD1","Value",VRGet("EF_PASSWORD","Value"))
Note:
See TracChangeset
for help on using the changeset viewer.
