explorer: fixed trying to access all drives list root tree
[ede] / explorer / src / ExplorerWindow.ec
index bdfe373..40fa4a4 100644 (file)
@@ -22,7 +22,7 @@ class ExplorerWindow : Window
    hasMaximize = true;
    hasMinimize = true;
    hasClose = true;
-   //hasMenuBar = true;
+   hasMenuBar = true;
    //tabCycle = true;
    size = { 840, 480 };
    minClientSize = { 600, 300 };
@@ -36,12 +36,13 @@ class ExplorerWindow : Window
    int searchSplit;
    
    ExplorerToolId lastViewId;
+*/
 
    menu = Menu { };
    
    Menu fileMenu { menu, "File", f };
    Menu windowMenu { menu, "Window", w };
-      MenuItem newWindow
+      MenuItem itemNewWindow
       {
          windowMenu, "New Window", n;
          
@@ -51,7 +52,6 @@ class ExplorerWindow : Window
             return true;
          }
       };
-*/
 
    IconBag<ExplorerToolId> iconBag
    {
@@ -252,8 +252,8 @@ class ExplorerWindow : Window
       panels, this;
    };*/
 
-   /*Tree*/FileSystemBox tree
-   {
+   /*Tree*/FileSystemBox tree;
+   /*{
       panels, this;
       size = { w = 240 };
       anchor.top = 0;
@@ -263,7 +263,7 @@ class ExplorerWindow : Window
       foldersOnly = true;
       borderStyle = none;
       visible = false;
-   };
+   };*/
 
    FileSystemBox view
    {