Changeset 786 for trunk/guitools/evfsgui


Ignore:
Timestamp:
Aug 13, 2013, 4:24:43 PM (12 years ago)
Author:
Herwig Bauernfeind
Message:

EVFSGUI 2.5: Fix rpc bug, filter more debug messages

Location:
trunk/guitools/evfsgui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/evfsgui/evfsgui.vrp

    r784 r786  
    88RunParameters:
    99RunDirectory: U:\Develop\Samba\trunk\guitools\evfsgui
    10 VRXWindow: __VREMainWindow,1,1951,2361,1012,7841
    11 VRXWindow: __VREFileListWindow,1,2192,7950,2665,3358
    12 VRXWindow: __VRESectionListWindow,1,1156,12382,12238,6914
    13 VRXWindow: __VREToolsWindow,0,3096,8528,5474,1669
    14 VRXWindow: __VREWindListWindow,1,723,8239,4963,3150
     10VRXWindow: __VREMainWindow,1,1963,2361,1012,7841
     11VRXWindow: __VREFileListWindow,1,2204,7950,2665,3358
     12VRXWindow: __VRESectionListWindow,1,1168,12382,12238,6914
     13VRXWindow: __VREToolsWindow,0,3108,8528,5474,1669
     14VRXWindow: __VREWindListWindow,1,952,11611,4963,3150
    1515UserFile: 1
    1616UserWindow: Main,1
     17UserWindow: SW_SETTINGS,1
    1718UserWindow: SW_SMBTREE,1
    1819UserWindow: SW_DIALOG,1
  • trunk/guitools/evfsgui/evfsgui.vrx

    r784 r786  
    215215/*:VRX         _BrowseBuildPath
    216216*/
    217 _BrowseBuildPath: procedure expose options. icons. sharerh
     217_BrowseBuildPath: procedure expose options. icons. samba. sharerh
    218218    if options.!debug == 1 then say time()' _BrowseBuildPath started'
    219219    rh = arg(1)
     
    343343/*:VRX         _BrowseObjectOpen
    344344*/
    345 _BrowseObjectOpen: procedure expose options. cd. icons.
     345_BrowseObjectOpen: procedure expose samba. options. cd. icons.
    346346    machine    = arg(1)
    347347    sharename  = arg(2)
     
    529529/*:VRX         _DelSMBObjectShares
    530530*/
    531 _DelSMBObjectShares: procedure expose options. SMBObj. rh
     531_DelSMBObjectShares: procedure expose samba. options. SMBObj. rh
    532532    /* Purpose: Delete shares for a given Object (as handle) */
    533533
     
    603603/*:VRX         _GetSMBObjectProperties
    604604*/
    605 _GetSMBObjectProperties: procedure expose options. SMBObj. rh icon resname udatatype udatamsg parentrh icons.
     605_GetSMBObjectProperties: procedure expose samba. options. SMBObj. rh icon resname udatatype udatamsg parentrh icons.
    606606    if options.!debug == 1 then say time()' _GetSMBObjectProperties started'
    607607
     
    663663/*:VRX         _GetSMBObjectShares
    664664*/
    665 _GetSMBObjectShares: procedure expose options. SMBObj. rh
     665_GetSMBObjectShares: procedure expose samba. options. SMBObj. rh
    666666    /* Purpose: Return stem with shares for a given Object (as handle) */
    667667
     
    20842084            when SMBObj.udatatype = "SERVER" then do
    20852085                say "Server dragged!"
    2086                 p_workgroup = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.parentrh, "Caption")
     2086                if SMBObj.parentrh <> "" then do /* detect server without workgroup */
     2087                    p_workgroup = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.parentrh, "Caption")
     2088                end
    20872089                p_server    = SMBObj.resname
    20882090                p_share     = ""
     
    20922094            when SMBObj.udatatype = "DISK" then do
    20932095                say "Shared disk dragged!"
    2094                 p_workgroup = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.gparentrh, "Caption")
     2096                if SMBObj.gparentrh <> "" then do /* detect share on a server without workgroup */
     2097                    p_workgroup = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.gparentrh, "Caption")
     2098                end
    20952099                p_server    = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.parentrh,  "Caption")
    20962100                parse var p_server p_server '0D0A'x .
     
    26382642*/
    26392643Main_Create:
    2640     options.!debug    = 0
     2644    options.!debug    = 1
    26412645    if options.!debug == 1 then do
    26422646        ok = VRRedirectStdIO("ON")
     
    26612665
    26622666    CALL _INILoad
     2667
     2668    call _TabFix 1
     2669    call SW_ADVANCED_Init_Content
     2670    call SW_SMBTREE_Init_Content
     2671    call SW_CONDET_Init_Content
     2672    call SW_SETTINGS_Init_Content
    26632673
    26642674    CALL Refresh
     
    45204530SW_ABOUT_Init:
    45214531    window = VRInfo( "Object" )
    4522     if( \VRIsChildOf( window, "Notebook" ) ) then do
     4532    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
    45234533        call VRMethod window, "CenterWindow"
    45244534        call VRSet window, "Visible", 1
     
    47414751SW_INFO_Init:
    47424752    window = VRInfo( "Object" )
    4743     if( \VRIsChildOf( window, "Notebook" ) ) then do
     4753    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
    47444754        call VRMethod window, "CenterWindow"
    47454755        call VRSet window, "Visible", 1
     
    47974807SW_LOGIN_Init:
    47984808    window = VRInfo( "Object" )
    4799     if( \VRIsChildOf( window, "Notebook" ) ) then do
     4809    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
    48004810        call VRMethod window, "CenterWindow"
    48014811        call VRSet window, "Visible", 1
     
    48664876SW_MOUNTPOINT_Init:
    48674877    window = VRInfo( "Object" )
    4868     if( \VRIsChildOf( window, "Notebook" ) ) then do
     4878    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
    48694879        call VRMethod window, "CenterWindow"
    48704880        call VRSet window, "Visible", 1
     
    49204930SW_PORTCONNECT_Init:
    49214931    window = VRInfo( "Object" )
    4922     if( \VRIsChildOf( window, "Notebook" ) ) then do
     4932    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
    49234933        call VRMethod window, "CenterWindow"
    49244934        call VRSet window, "Visible", 1
     
    51195129    end
    51205130return
    5121 
    51225131/*:VRX         TM_AutoClose_Trigger
    51235132*/
Note: See TracChangeset for help on using the changeset viewer.