[PD-cvs] SF.net SVN: pure-data: [9614] branches/pd-extended/v0-40/pd/src/u_main.tk

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Fri Mar 21 02:24:13 CET 2008


Revision: 9614
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9614&view=rev
Author:   eighthave
Date:     2008-03-20 18:24:13 -0700 (Thu, 20 Mar 2008)

Log Message:
-----------

- Set up URL/file escaping on GNU/Linux and Mac OS X.  

- Removed the "file://" from the Windows menu_openhtml opener so that irc://
  links work

- switched links to puredata.info

Modified Paths:
--------------
    branches/pd-extended/v0-40/pd/src/u_main.tk

Modified: branches/pd-extended/v0-40/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/v0-40/pd/src/u_main.tk	2008-03-20 17:48:23 UTC (rev 9613)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk	2008-03-21 01:24:13 UTC (rev 9614)
@@ -502,17 +502,17 @@
                   galeon konqueror netscape lynx } {
                       set browser [lindex [auto_execok $candidate] 0]
                       if {[string length $browser]} {
-                          puts stderr [format "%s %s" $browser $filename]
-                          exec -- sh -c [format "%s %s" $browser $filename] &
+                          puts stderr [format "%s '%s'" $browser $filename]
+                          exec -- sh -c [format "%s '%s'" $browser $filename] &
                           break
                       }
                   }
     } elseif {$pd_nt == 2} {
-        puts stderr [format "open %s" $filename]
-        exec sh -c [format "open %s" $filename]
+        puts stderr [format "open '%s'" $filename]
+        exec sh -c [format "open '%s'" $filename]
     } else {
         exec rundll32 url.dll,FileProtocolHandler \
-            [format "file://%s" $filename] &
+            [format "%s" $filename] &
     }
 }
 
@@ -675,22 +675,22 @@
         -accelerator [accel_munge "Ctrl+b"] \
         -command {menu_doc_browser}
     $mbar.help add separator
-    $mbar.help add command -label {puredata.org} \
-        -command {menu_openhtml http://puredata.org} 
+    $mbar.help add command -label {puredata.info} \
+        -command {menu_openhtml http://puredata.info} 
     $mbar.help add command -label {Pdpedia} \
         -command {menu_openhtml http://pdpedia.org} 
     $mbar.help add command -label {FAQ} \
-        -command {menu_openhtml http://puredata.org/docs/faq} 
+        -command {menu_openhtml http://puredata.info/docs/faq} 
     $mbar.help add separator
     $mbar.help add command -label {mailing lists} \
-        -command {menu_openhtml http://puredata.org/community/lists} 
+        -command {menu_openhtml http://puredata.info/community/lists} 
     $mbar.help add command -label {forums} \
-        -command {menu_openhtml http://puredata.org/community/forums} 
-    $mbar.help add command -label {IRC} \
+        -command {menu_openhtml http://puredata.hurleur.com/} 
+    $mbar.help add command -label {IRC chat} \
         -command {menu_openhtml irc://irc.freenode.net/dataflow} 
     $mbar.help add separator
-    $mbar.help add command -label {report bug} \
-        -command {menu_openhtml 'http://sourceforge.net/tracker/?func=add&group_id=55736&atid=478070'} 
+	$mbar.help add command -label {report bug} -command \
+		{menu_openhtml {http://sourceforge.net/tracker/?func=add&group_id=55736&atid=478070}} 
 }
 
 #################### the "File" menu for the Pd window ##############


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list