Index: src/ch/DirTreeCtrl.cpp
===================================================================
diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -rb0f4dd77e1a90473424ac91bc31ad800e07a917f
--- src/ch/DirTreeCtrl.cpp	(.../DirTreeCtrl.cpp)	(revision d5c3edd0d167db9b5d47d04248820fda49499a5e)
+++ src/ch/DirTreeCtrl.cpp	(.../DirTreeCtrl.cpp)	(revision b0f4dd77e1a90473424ac91bc31ad800e07a917f)
@@ -713,74 +713,6 @@
 	return hFound != NULL;
 }
 
-/////////////////////////////////////////////////////////////////////////////
-// sets network path
-/*
-bool CDirTreeCtrl::SetRemotePath(LPCTSTR lpszPath)
-{
-	// expand desktop and net neigh
-	HTREEITEM hItem=GetRootItem();
-	ExpandItem(hItem, TVE_EXPAND);
-	ExpandItem(m_hNetwork, TVE_EXPAND);
-	
-	// find root
-	TCHAR szBuffer[2048];
-	NETRESOURCE* pnr;
-	CArray<HTREEITEM, HTREEITEM> m_ahRoots;	// root's list
-	bool bSkipRootChecks=false;
-	HTREEITEM hRoot=GetChildItem(m_hNetwork);
-	while(hRoot)
-	{
-		if (!GetItemShellData(hRoot, SHGDFIL_NETRESOURCE, szBuffer, 2048))
-		{
-			// problem with NETRESOURCE - find next
-			hRoot=GetNextSiblingItem(hRoot);
-			continue;
-		}
-
-		// got NETRESOURCE
-		pnr=(NETRESOURCE*)szBuffer;
-		if (pnr->dwDisplayType == RESOURCEDISPLAYTYPE_ROOT)
-			m_ahRoots.Add(hRoot);
-		else if (pnr->dwDisplayType == RESOURCEDISPLAYTYPE_SHARE)
-		{
-			if (ComparePaths(lpszPath, pnr->lpRemoteName))
-			{
-				bSkipRootChecks=true;	// skip II phase
-				break;					// hRoot contains handle to an item from which we need to start searching from
-			}
-		}
-
-		// next to check
-		hRoot=GetNextSiblingItem(hRoot);
-	}
-
-	// II phase: net neigh tree traversation
-	if (!bSkipRootChecks)
-	{
-		hRoot=NULL;
-		HTREEITEM hNode;
-		TCHAR szBuffer[2048];
-		for (int i=0;i<m_ahRoots.GetSize();i++)
-		{
-			ExpandItem(m_ahRoots.GetAt(i), TVE_EXPAND);
-			if ( (hNode=TraverseNetNode(m_ahRoots.GetAt(i), lpszPath, szBuffer)) != NULL )
-			{
-				hRoot=hNode;
-				break;	// found
-			}
-		}
-	}
-
-	// III phase: regular search from hRoot
-	ExpandItem(hRoot, TVE_EXPAND);
-	HTREEITEM hFound=RegularSelect(hRoot, lpszPath);
-	if (hFound)
-		ExpandItem(hFound, TVE_EXPAND);
-	
-	return hFound != NULL;
-}
-*/
 ///////////////////////////////////////////////////////////////////////////
 // starts regular selecting - if finds the first part of a path - the next
 // component is a child item