From 4c2948447482fe57110e7fd674e362bbbd5814b6 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Wed, 28 Mar 2012 14:00:28 -0700 Subject: IKNINJA-719 - removed Zoom In/Zoom Out under View menu in the Main menu Disabled cut, copy, paste, debug, since that functionality is not there yet Signed-off-by: Ananya Sen --- js/data/menu-data.js | 40 ++++------------------------------------ 1 file changed, 4 insertions(+), 36 deletions(-) (limited to 'js/data') diff --git a/js/data/menu-data.js b/js/data/menu-data.js index 12007f4a..3333d209 100755 --- a/js/data/menu-data.js +++ b/js/data/menu-data.js @@ -154,55 +154,23 @@ exports.MenuData = Montage.create( Montage, { { "displayText" : "Cut", "hasSubMenu" : false, - "enabled": true + "enabled": false }, { "displayText" : "Copy", "hasSubMenu" : false, - "enabled": true + "enabled": false }, { "displayText" : "Paste", "hasSubMenu" : false, - "enabled": true + "enabled": false } ] }, { "header": "View", "entries": [ - { - "displayText" : "Zoom In", - "hasSubMenu" : false, - "enabled": { - "value": false, - "boundObj": "documentController", - "boundProperty": "activeDocument", - "oneway": true, - "boundValueMutator": function(activeDocument){ - if((activeDocument !== null) && (activeDocument.currentView === "design")){return true;} - else{return false;} - } - } - }, - { - "displayText" : "Zoom Out", - "hasSubMenu" : false, - "enabled": { - "value": false, - "boundObj": "documentController", - "boundProperty": "activeDocument", - "oneway": true, - "boundValueMutator": function(activeDocument){ - if((activeDocument !== null) && (activeDocument.currentView === "design")){return true;} - else{return false;} - } - } - }, - { - "displayText" : "", - "separator": true - }, { "displayText" : "Live Preview", "hasSubMenu" : false, @@ -431,7 +399,7 @@ exports.MenuData = Montage.create( Montage, { { "displayText" : "Debug", "hasSubMenu" : false, - "enabled": true, + "enabled": false, "checked": { "value": true, "boundProperty": "debug" -- cgit v1.2.3