aboutsummaryrefslogtreecommitdiff
path: root/packages/darwin_app/patches/u_main.tk.patch
diff options
context:
space:
mode:
authorN.N. <g_roma@users.sourceforge.net>2004-09-01 00:20:12 +0000
committerN.N. <g_roma@users.sourceforge.net>2004-09-01 00:20:12 +0000
commita45a482d89e80a26e29ec9572bfd7d50c252ff68 (patch)
tree4a9cf4223888466a8ada3b1ab0d7dbd3e4417b96 /packages/darwin_app/patches/u_main.tk.patch
parent0ea8cbe1cda1983923768387b84569930e237434 (diff)
macosx style app
svn path=/trunk/; revision=1990
Diffstat (limited to 'packages/darwin_app/patches/u_main.tk.patch')
-rw-r--r--packages/darwin_app/patches/u_main.tk.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/darwin_app/patches/u_main.tk.patch b/packages/darwin_app/patches/u_main.tk.patch
new file mode 100644
index 00000000..744cdd02
--- /dev/null
+++ b/packages/darwin_app/patches/u_main.tk.patch
@@ -0,0 +1,25 @@
+Index: u_main.tk
+===================================================================
+RCS file: /cvsroot/pure-data/pd/src/u_main.tk,v
+retrieving revision 1.3
+diff -r1.3 u_main.tk
+34,35c34,36
+< set pd_guidir $pd_gui2/..
+< load $pd_guidir/bin/pdtcl
+---
+> # set pd_guidir $pd_gui2/..
+> # load $pd_guidir/bin/pdtcl
+> loadpdtcl
+340a342
+> global tcl_platform
+365,366c367,373
+< $mbar.help add command -label {Pure Documentation...} \
+< -command {menu_documentation}
+---
+> if {$tcl_platform(os) != "Darwin"} {
+> $mbar.help add command -label {Pure Documentation...} \
+> -command {menu_documentation}
+> } else {
+> $mbar.help add command -label {Pure Documentation...} \
+> -command {menu_doc_open doc/menus doc-menu.pd}
+> }