Index: trunk/src/pcb-menu-gtk.lht =================================================================== --- trunk/src/pcb-menu-gtk.lht (revision 6695) +++ trunk/src/pcb-menu-gtk.lht (revision 6696) @@ -44,18 +44,25 @@ ha:File { m=F li:submenu { + ha:Start New Layout = { a=Ctrln; action=New() } + ha:Revert = { action=Load(Revert,none); tip=Revert to the layout stored on disk } + - + ha:Load layout = { action=Load(Layout); tip=Load a layout from a file } + - ha:Save Layout = { m=S; a={Ctrls}; action=Save(Layout); tip=Saves current layout } ha:Save Layout As... = { m=A; a={Shift Ctrls}; action=Save(LayoutAs); tip=Saves current layout into a new file } - - ha:Revert = { action=Load(Revert,none); tip=Revert to the layout stored on disk } + ha:Import { + m=I + li:submenu { + ha:Import Schematics = { action=Import() } + ha:Load element data to paste-buffer = { li:action={PasteBuffer(Clear); Load(ElementTobuffer)} } + ha:Load layout data to paste-buffer = { li:action={PasteBuffer(Clear); Load(LayoutTobuffer)} } + ha:Load netlist file = { action=Load(Netlist) } + ha:Load vendor resource file = { action=LoadVendorFrom() } + } + } - - ha:Import Schematics = { action=Import() } - ha:Load layout = { action=Load(Layout); tip=Load a layout from a file } - ha:Load element data to paste-buffer = { li:action={PasteBuffer(Clear); Load(ElementTobuffer)} } - ha:Load layout data to paste-buffer = { li:action={PasteBuffer(Clear); Load(LayoutTobuffer)} } - ha:Load netlist file = { action=Load(Netlist) } - ha:Load vendor resource file = { action=LoadVendorFrom() } - - ha:Save connection data of { li:submenu { ha:a single element = { li:action={ GetXY(Click to set the element mark <>); Save(ElementConnections)}} @@ -64,9 +71,10 @@ ha:netlist patch for back annotation = {a=Alt Ctrlb; action=SavePatch() } } } - - ha:Print layout... = { action=Print()} ha:Export layout... = { action=ExportGUI()} + - + ha:Preferences... = { action=DoWindows(Preferences)} ha:Maintenance { li:submenu { ha:Calibrate Printer... = { action=PrintCalibrate() } @@ -74,10 +82,6 @@ } } - - ha:Start New Layout = { a=Ctrln; action=New() } - - - ha:Preferences... = { action=DoWindows(Preferences)} - - ha:Quit Program = { a=Ctrlq; action=Quit() } } } Index: trunk/src/pcb-menu-mkey.lht =================================================================== --- trunk/src/pcb-menu-mkey.lht (revision 6695) +++ trunk/src/pcb-menu-mkey.lht (revision 6696) @@ -44,18 +44,25 @@ ha:File { m=F li:submenu { + ha:Start New Layout = { li:a={{f;n}; {Ctrln};}; action=New() } + ha:Revert = { a={f;r}; action=Load(Revert,none); tip=Revert to the layout stored on disk } + - + ha:Load layout = { a={f;o}; action=Load(Layout); tip=Load a layout from a file } + - ha:Save Layout = { m=S; li:a={{f;s}; {Ctrls};}; action=Save(Layout); tip=Saves current layout } ha:Save Layout As... = { m=A; li:a={{f;a}; {Shift Ctrls};}; action=Save(LayoutAs); tip=Saves current layout into a new file } - - ha:Revert = { a={f;r}; action=Load(Revert,none); tip=Revert to the layout stored on disk } + ha:Import { + m=I + li:submenu { + ha:Import Schematics = { action=Import() } + ha:Load element data to paste-buffer = { li:action={PasteBuffer(Clear); Load(ElementTobuffer)} } + ha:Load layout data to paste-buffer = { li:action={PasteBuffer(Clear); Load(LayoutTobuffer)} } + ha:Load netlist file = { action=Load(Netlist) } + ha:Load vendor resource file = { action=LoadVendorFrom() } + } + } - - ha:Import Schematics = { action=Import() } - ha:Load layout = { a={f;o}; action=Load(Layout); tip=Load a layout from a file } - ha:Load element data to paste-buffer = { li:action={PasteBuffer(Clear); Load(ElementTobuffer)} } - ha:Load layout data to paste-buffer = { li:action={PasteBuffer(Clear); Load(LayoutTobuffer)} } - ha:Load netlist file = { action=Load(Netlist) } - ha:Load vendor resource file = { action=LoadVendorFrom() } - - ha:Save connection data of { li:submenu { ha:a single element = { li:action={ GetXY(Click to set the element mark <>); Save(ElementConnections)}} @@ -64,9 +71,10 @@ ha:netlist patch for back annotation = {a=Alt Ctrlb; action=SavePatch() } } } - - ha:Print layout... = { a={f;p}; action=Print()} ha:Export layout... = { a={f;i}; action=ExportGUI()} + - + ha:Preferences... = { action=DoWindows(Preferences)} ha:Maintenance { li:submenu { ha:Calibrate Printer... = { action=PrintCalibrate() } @@ -74,10 +82,6 @@ } } - - ha:Start New Layout = { li:a={{f;n}; {Ctrln};}; action=New() } - - - ha:Preferences... = { action=DoWindows(Preferences)} - - ha:Quit Program = { li:a={{f;c}; {Ctrlq};}; action=Quit() } } }