summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-23 20:20:17 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-23 20:20:17 +0100
commitadde980e498c624192351fdde0833130b26725f4 (patch)
tree49997c46dc65a731f75da0cc32b2f891fb58176a /gui.js
parent0ab6d5484b093a58f5f37286e17834dfd54ea724 (diff)
downloadsnap-yow-adde980e498c624192351fdde0833130b26725f4.tar.gz
snap-yow-adde980e498c624192351fdde0833130b26725f4.zip
do not force loading of overpass.xml, move to GUI
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index e4fd6cd..ca7bf3b 100644
--- a/gui.js
+++ b/gui.js
@@ -2518,6 +2518,18 @@ IDE_Morph.prototype.projectMenu = function () {
'load the official library of\npowerful blocks'
);
menu.addItem(
+ 'Import geo utilities',
+ function () {
+ myself.droppedText(
+ myself.getURL( // TODO change to 'OrRelative' later
+ 'overpass.xml'
+ ),
+ 'overpass'
+ );
+ },
+ 'load a geo library of powerful\nblocks for Your Own World'
+ );
+ menu.addItem(
'Libraries...',
function () {
// read a list of libraries from an external file,
@@ -2883,7 +2895,6 @@ IDE_Morph.prototype.newProject = function () {
this.createCorral();
this.selectSprite(this.stage.children[0]);
this.fixLayout();
- this.droppedText(this.getURL('overpass.xml')); // YOW hack (TODO)
};
IDE_Morph.prototype.save = function () {