Changeset 320
- Timestamp:
- Aug 27, 2009, 11:19:24 AM (16 years ago)
- Location:
- branches/guitools-2.0/evfsgui
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-2.0/evfsgui/changes
r319 r320 11 11 - Added: Create rudimentary %ETC%\samba\smb.conf 12 12 - Added: Connection details view (preliminary) 13 - Added: Double connection detection using hashes13 - Added: Double connection detection using md5 hashes 14 14 - Added: New profile saving code 15 15 - Added: Remove menu option (preliminary for passive connections only) 16 16 - Added: smbtree.vrs: Optionally do not show hidden shares 17 17 - Added: smbtree.vrs: Enhanced guessicon() 18 - Added: Preliminary context menus for Browse View and Connection details view 19 - Changed: Several changes in GUI style (as suggested by Alex Taylor) 20 - Changed: Left align buttons in current connections panel (as suggested by 21 MrFawlty and Alex Taylor) 22 - Changed: Replaced status bar by a text control (as suggested by Alex Taylor) 23 (only used for version display for now) 24 - Changed: Main icon is now the one done by Alex Taylor 25 - Changed: Use PM_Default_Colors for title sections (as suggested by Alex Taylor) 18 26 - Fixed: Loading a profile presented the user a half drawn window 19 27 - Fixed: CltInit uses smbclient.exe instead of smbd.exe to find Samba binaries … … 22 30 ToDo: 23 31 - CltInit requires resync with SambaInit 32 - Create Icon. stem in order to ease maintainance of icons 33 - Create mechanism to save passive connections across sessions 34 - Functionality of context menus for Browse View and Connection details view 24 35 - Debug on/off option is badly implemented (rework required) 36 - smbtree.vrs: Sort options 25 37 - Advanced dialog should be split into connection options and global options 26 38 - smbtree error messages are ignored (requires more code from smbmon) 27 - Connecting to IPC$ still possible 39 - Connecting to IPC$ still possible (if it is visible) 28 40 - printer share detection is flaky 29 41 - error checking -
branches/guitools-2.0/evfsgui/evfsgui.VRP
r319 r320 4 4 MacroPath: VRM: U:\Develop\Samba\guitools-2.0\smbclgui 5 5 EXEPath: 6 RunParameters: y:\HB.evp6 RunParameters: 7 7 RunDirectory: 8 8 VRXWindow: __VREMainWindow,1,530,2457,879,4071 9 9 VRXWindow: __VRESectionListWindow,1,337,11708,11623,3686 10 VRXWindow: __VREToolsWindow,1,518,530,69 84,166310 VRXWindow: __VREToolsWindow,1,518,530,6993,1669 11 11 VRXWindow: __VREWindListWindow,1,482,7661,2650,3150 12 12 UserFile: 1 -
branches/guitools-2.0/evfsgui/evfsgui.VRX
r319 r320 157 157 FWidth = 32 158 158 159 ok = VRSet("DT_STATUSBAR", "Caption", VRGet("Main", "HintText")) 159 160 call Main_Resize 160 161 return … … 251 252 RETURN 252 253 254 /*:VRX CN_CONDET_ContextMenu 255 */ 256 CN_CONDET_ContextMenu: 257 ok = VRMethod( "Menu_Selected", "Popup", , , "", "" ) 258 return 259 253 260 /*:VRX CN_CONDET_DragStart 254 261 */ … … 521 528 window = VRLoadSecondary( "SW_LOGIN", "W" ) 522 529 call PB_MOUNT_CLICK 530 return 531 532 /*:VRX CN_SMBTREE_ContextMenu 533 */ 534 CN_SMBTREE_ContextMenu: 535 ok = VRMethod( "Menu_Selected", "Popup", , , "", "" ) 523 536 return 524 537 … … 778 791 settings.!curbcolor = VRGetIni('Settings', 'TitleBarBackground', settings.!ini, 'NoClose') 779 792 settings.!curfcolor = VRGetIni('Settings', 'TitleBarForeground', settings.!ini, 'NoClose') 780 IF settings.!curbcolor = '' THEN settings.!curbcolor = '<default>'781 IF settings.!curfcolor = '' THEN settings.!curfcolor = '<default>'793 IF settings.!curbcolor = '' THEN settings.!curbcolor = VRGetIni('PM_Default_Colors', 'ActiveTitleText', 'User', 'NoClose') 794 IF settings.!curfcolor = '' THEN settings.!curfcolor = VRGetIni('PM_Default_Colors', 'ActiveTitleTextBgnd', 'User', 'NoClose') 782 795 783 796 settings.!buttonson = VRGetIni('Settings', 'ButtonsOn', settings.!ini, 'NoClose') … … 983 996 ok = VRset("PB_DETACH", "Top", VRGet("GB_CURRENT","Height")- 400-FWidth-12) 984 997 ok = VRset("PB_DETACH", "Width", min((VRGet("GB_CURRENT","Width")-FWidth*3)%2, 1313)) 985 ok = VRset("PB_UNMOUNT", "Left", VRGet("GB_CURRENT","Width") -VRGet("PB_DETACH","Width")-FWidth) 998 ok = VRset("PB_UNMOUNT", "Left", FWidth*2 +1313 - 12) 999 /* ok = VRset("PB_UNMOUNT", "Left", VRGet("GB_CURRENT","Width") -VRGet("PB_DETACH","Width")-FWidth) */ 986 1000 ok = VRset("PB_UNMOUNT", "Top", VRGet("GB_CURRENT","Height")- 400-FWidth-12) 987 1001 ok = VRset("PB_UNMOUNT", "Width", min((VRGet("GB_CURRENT","Width")-FWidth*3)%2, 1313)) … … 991 1005 ok = VRSet("GB_SMBTREE", "Left", VRGet("SPLIT_Main","Left")+60) 992 1006 ok = VRset("GB_SMBTREE", "Height", VRGet("GB_CURRENT","Height")) 993 ok = VRset("GB_SMBTREE", "Width", VRGet("Main","Width")-VRGet("SPLIT_Main","Left")-60-FWidth*2- 32)1007 ok = VRset("GB_SMBTREE", "Width", VRGet("Main","Width")-VRGet("SPLIT_Main","Left")-60-FWidth*2-24*2) 994 1008 995 1009 ok = VRset("GB_SMBTREE3","Top", FWidth) … … 1020 1034 ok = VRset("PICT_THROBBER", "Left", VRGet("CN_SMBTREE","Width")%2-200) 1021 1035 1022 /* Con ection details stuff */1036 /* Connection details stuff */ 1023 1037 ok = VRSet("GB_CONDET", "Top", FWidth) 1024 1038 ok = VRSet("GB_CONDET", "Left", VRGet("SPLIT_Main","Left")+60) 1025 1039 ok = VRset("GB_CONDET", "Height", VRGet("GB_CURRENT","Height")) 1026 ok = VRset("GB_CONDET", "Width", VRGet("Main","Width")-VRGet("SPLIT_Main","Left")-60-FWidth*2- 32)1040 ok = VRset("GB_CONDET", "Width", VRGet("Main","Width")-VRGet("SPLIT_Main","Left")-60-FWidth*2-24*2) 1027 1041 1028 1042 ok = VRset("GB_CONDET3","Top", FWidth) … … 1054 1068 ok = VRSet("GB_DIALOG", "Left", VRGet("SPLIT_Main","Left")+60) 1055 1069 ok = VRset("GB_DIALOG", "Height", VRGet("GB_CURRENT","Height")) 1056 ok = VRset("GB_DIALOG", "Width", VRGet("Main","Width")-VRGet("SPLIT_Main","Left")-60-FWidth*2- 32)1070 ok = VRset("GB_DIALOG", "Width", VRGet("Main","Width")-VRGet("SPLIT_Main","Left")-60-FWidth*2-24*2) 1057 1071 1058 1072 ok = VRset("GB_DIALOG3","Top", FWidth) … … 1085 1099 ok = VRset("SPLIT_Main","Top", FWidth) 1086 1100 ok = VRset("SPLIT_Main","Height", VRGet("GB_CURRENT","Height")) 1101 1102 ok = VRSet("GB_STATUSBAR","Left", FWidth-24) 1103 ok = VRSet("GB_STATUSBAR","Top", VRGet("Main","Height")-VRGet("GB_STATUSBAR","Height")-FWidth-640+24) 1104 ok = VRSet("GB_STATUSBAR","Width", VRGet("Main","Width")-2*FWidth-2*32) 1105 1106 ok = VRset("DT_STATUSBAR","Top", 8) 1107 ok = VRset("DT_STATUSBAR","Left", 8) 1108 ok = VRset("DT_STATUSBAR","Width", VRGet("GB_CURRENT","Width")+VRGet("GB_SMBTREE","Width")+60-24*2) 1087 1109 1088 1110 ok = VRset("Main","Painting", 1) … … 1195 1217 return 1196 1218 1219 /*:VRX Menu_Selected_Connect_Click 1220 */ 1221 Menu_Selected_Connect_Click: 1222 call PB_CONNECT_Click 1223 return 1224 1197 1225 /*:VRX Menu_Selected_Remove_Click 1198 1226 */ … … 1211 1239 return 1212 1240 1241 /*:VRX Menu_Selected_Retry_Click 1242 */ 1243 Menu_Selected_Retry_Click: 1244 ok = VRMethod( "CN_CONDET", "GetRecordList", "SourceOrSelected", "selrec." ) 1245 if selrec.0 = 0 then return 1246 1247 do I = 1 to selrec.0 1248 if VRMethod("CN_CONDET", "GetFieldData", selrec.I, cd.statusfh) = '#68:PMWP.DLL' then do 1249 /* CALL VRMethod 'CN_CONDET', 'RemoveRecord', selrec.I */ 1250 1251 end 1252 end 1253 return 1254 1213 1255 /*:VRX Menu_View_Buttons_Click 1214 1256 */ … … 1246 1288 1247 1289 ok = VRSet("Menu_Selected_Remove", "Visible", 1) 1290 ok = VRSet("Menu_Selected_Retry", "Visible", 1) 1248 1291 ok = VRMethod( "CN_CONDET", "GetRecordList", "All", "records." ) 1249 1292 ok = VRSet("Menu_Selected_Remove", "Enabled", (records.0 = 0)) 1293 ok = VRSet("Menu_Selected_Retry", "Enabled", (records.0 = 0)) 1294 1295 ok = VRSet("Menu_Selected_Connect", "Visible", 0) 1250 1296 return 1251 1297 … … 1267 1313 1268 1314 ok = VRSet("Menu_Selected_Remove", "Visible", 0) 1315 ok = VRSet("Menu_Selected_Retry", "Visible", 0) 1316 1317 ok = VRSet("Menu_Selected_Connect", "Visible", 0) 1269 1318 return 1270 1319 … … 1286 1335 1287 1336 ok = VRSet("Menu_Selected_Remove", "Visible", 0) 1337 ok = VRSet("Menu_Selected_Retry", "Visible", 0) 1338 1339 ok = VRSet("Menu_Selected_Connect", "Visible", 1) 1288 1340 return 1289 1341
Note:
See TracChangeset
for help on using the changeset viewer.