explorer: restored early menu bar
authorRejean Loyer <rejean.loyer@gmail.com>
Wed, 14 Sep 2011 06:42:36 +0000 (02:42 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Wed, 14 Sep 2011 22:55:30 +0000 (18:55 -0400)
explorer/src/ExplorerWindow.ec

index bdfe373..ad9314d 100644 (file)
@@ -22,7 +22,7 @@ class ExplorerWindow : Window
    hasMaximize = true;
    hasMinimize = true;
    hasClose = true;
    hasMaximize = true;
    hasMinimize = true;
    hasClose = true;
-   //hasMenuBar = true;
+   hasMenuBar = true;
    //tabCycle = true;
    size = { 840, 480 };
    minClientSize = { 600, 300 };
    //tabCycle = true;
    size = { 840, 480 };
    minClientSize = { 600, 300 };
@@ -36,12 +36,13 @@ class ExplorerWindow : Window
    int searchSplit;
    
    ExplorerToolId lastViewId;
    int searchSplit;
    
    ExplorerToolId lastViewId;
+*/
 
    menu = Menu { };
    
    Menu fileMenu { menu, "File", f };
    Menu windowMenu { menu, "Window", w };
 
    menu = Menu { };
    
    Menu fileMenu { menu, "File", f };
    Menu windowMenu { menu, "Window", w };
-      MenuItem newWindow
+      MenuItem itemNewWindow
       {
          windowMenu, "New Window", n;
          
       {
          windowMenu, "New Window", n;
          
@@ -51,7 +52,6 @@ class ExplorerWindow : Window
             return true;
          }
       };
             return true;
          }
       };
-*/
 
    IconBag<ExplorerToolId> iconBag
    {
 
    IconBag<ExplorerToolId> iconBag
    {