From 30f8c6cf87f1f7696e33080a3c53e5b442abed22 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Sun, 18 Oct 2015 18:01:21 -0400
Subject: [PATCH] remove "Graph" from "Put" menu

---
 pd/nw/pd_canvas.js | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js
index 568576022..f62658b36 100644
--- a/pd/nw/pd_canvas.js
+++ b/pd/nw/pd_canvas.js
@@ -1090,16 +1090,16 @@ function nw_create_patch_window_menus(name) {
         type: 'separator'
     }));
 
-    putMenu.append(new nw.MenuItem({
-        label: l('menu.graph'),
-        click: function() {
-            update_live_box();
-            pdgui.pdsend(name, "dirty 1");
-            // leaving out some placement logic... see pd.tk menu_graph
-            pdgui.pdsend(name, "graph NULL 0 0 0 0 30 30 0 30");
-        },
-        tooltip: l('menu.graph_tt'),
-    }));
+    //putMenu.append(new nw.MenuItem({
+    //    label: l('menu.graph'),
+    //    click: function() {
+    //        update_live_box();
+    //        pdgui.pdsend(name, "dirty 1");
+    //        // leaving out some placement logic... see pd.tk menu_graph
+    //        pdgui.pdsend(name, "graph NULL 0 0 0 0 30 30 0 30");
+    //    },
+    //    tooltip: l('menu.graph_tt'),
+    //}));
 
     putMenu.append(new nw.MenuItem({
         label: l('menu.array'),
-- 
GitLab