Changeset 569 for branches/guitools-1.0/install
- Timestamp:
- Mar 30, 2011, 11:41:45 AM (15 years ago)
- Location:
- branches/guitools-1.0/install
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-1.0/install/changes
r451 r569 1 Version 1.x.x xx-xx-2011 2 *Changed: Internal names of objects 1 3 Version 1.0.0 13-03-2010 2 4 +Added: Use a more wizard-like style instead of -
branches/guitools-1.0/install/sscc.vrp
r490 r569 6 6 RunDirectory: E:\Dev\REXX\VXREXX\Projects\Samba\install 7 7 VRXWindow: __VREMainWindow,1,1987,5059,891,7263 8 VRXWindow: __VRESectionListWindow,1,2 819,12671,8974,48909 VRXWindow: __VREToolsWindow,1,2674,4481,648 3,16598 VRXWindow: __VRESectionListWindow,1,2048,9877,8974,4890 9 VRXWindow: __VREToolsWindow,1,2674,4481,6480,1665 10 10 VRXWindow: __VREWindListWindow,1,193,14406,2650,3150 11 11 UserFile: 1 12 12 UserWindow: Main,1 13 UserWindow: GB_Global_1,114 UserWindow: Installer,115 UserWindow: RemoveConfig,1 -
branches/guitools-1.0/install/sscc.vrx
r490 r569 320 320 CALL NLVSetText 'PB_Reload', 'Caption', 11 321 321 CALL NLVSetText 'PB_Reload', 'Hinttext', 111 322 CALL NLVSetText 'PB_ Create', 'Caption', 12323 CALL NLVSetText 'PB_ Create', 'Hinttext', 112322 CALL NLVSetText 'PB_Save', 'Caption', 12 323 CALL NLVSetText 'PB_Save', 'Hinttext', 112 324 324 CALL NLVSetText 'PB_Undo', 'Caption', 9 325 325 CALL NLVSetText 'PB_Undo', 'Hinttext', 109 … … 938 938 ValueChanged = 1 939 939 if pos(VRGet(VRInfo("OBject"),"Name"), ChangeList) = 0 then Changelist = ChangeList' 'VRGet(VRInfo("OBject"),"Name") 940 ok = VRSet("PB_ Create", "Enabled", 1)940 ok = VRSet("PB_Save", "Enabled", 1) 941 941 say " ValueChanged = "ValueChanged 942 942 say Changelist … … 988 988 do until lines(src) = 0 989 989 smbline = linein(src) 990 if pos("idmap uid",smbline) > 0 then iterate 991 if pos("idmap gid",smbline) > 0 then iterate 990 992 if pos("winbind separator",smbline) > 0 then iterate 993 if pos("copy ",smbline) > 0 then iterate 991 994 call lineout trg, smbline 992 995 lct = lct + 1 … … 2342 2345 MButton.bTop = VRGet("GB_SmbConfTree","height")+FWidth*2 2343 2346 MButton.bLeft = VRGet("GB_Shares","Left") 2344 MButton.bWidth = VRGet("PB_ Create","Width")2347 MButton.bWidth = VRGet("PB_Save","Width") 2345 2348 2346 2349 if MButton.bTop < 1300 & MButton.bLeft < 1300 then do … … 2355 2358 ok = VRSet("PB_Reload", "Width", MButton.bWidth) 2356 2359 2357 ok = VRSet("PB_ Create", "Top", MButton.bTop)2358 ok = VRSet("PB_ Create", "Left", MButton.bLeft+1*FWidth+MButton.bWidth)2360 ok = VRSet("PB_Save", "Top", MButton.bTop) 2361 ok = VRSet("PB_Save", "Left", MButton.bLeft+1*FWidth+MButton.bWidth) 2359 2362 ok = VRSet("PB_Reload", "Width", MButton.bWidth) 2360 2363 … … 2574 2577 Menu_Options_SimpleMode_Click: 2575 2578 say 'SimpleMode_Click started' 2579 2580 /* Workaround for testparm bugs */ 2581 say 'VRCopyFile('smbconf', 'TempDir'smb.conf )' 2582 ok = VRCopyFile( smbconf, TempDir'smb.conf') 2583 call _SmbConfCommitChanges 2584 2576 2585 say samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2577 2586 address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' … … 2717 2726 */ 2718 2727 PB_Cancel_Click: 2719 call PB_ Create_Click2728 call PB_Save_Click 2720 2729 call Quit 2721 return2722 2723 /*:VRX PB_Create_Click2724 */2725 PB_Create_Click:2726 if ValueChanged then do2727 if CurSection <> "" then do2728 call _SaveChanges2729 ok = VRSet("PB_Create", "Enabled", 0)2730 call CN_smbconf_Click2731 end2732 end2733 2730 return 2734 2731 … … 2815 2812 */ 2816 2813 PB_Reload_Click: 2817 call PB_ Create_Click2814 call PB_Save_Click 2818 2815 call beep 960, 1 2819 2816 address CMD samba.!smbcmd' reload' … … 2849 2846 return 2850 2847 2848 /*:VRX PB_Save_Click 2849 */ 2850 PB_Save_Click: 2851 if ValueChanged then do 2852 if CurSection <> "" then do 2853 call _SaveChanges 2854 ok = VRSet("PB_Save", "Enabled", 0) 2855 call CN_smbconf_Click 2856 end 2857 end 2858 return 2859 2851 2860 /*:VRX PB_Undo_Click 2852 2861 */ … … 2908 2917 VRGet("Main","WindowState") = "Minimized" then ok = VRMethod("Main", "Restore") 2909 2918 2910 /*if samba.!testparmexe <> "" then do2919 if samba.!testparmexe <> "" then do 2911 2920 address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2912 2921 call _SmbConfCommitChanges 2913 end */2922 end 2914 2923 2915 2924 call _INIWrite … … 3003 3012 say "TM_Value_Trigger started" 3004 3013 ValueChanged = 0 3005 ok = VRSet("PB_ Create", "Enabled", 0)3014 ok = VRSet("PB_Save", "Enabled", 0) 3006 3015 ChangeList = "" 3007 3016 ok = VRSet("TM_Value", "Enabled", 0)
Note:
See TracChangeset
for help on using the changeset viewer.