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

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Mon Mar 17 16:20:13 CET 2008


Revision: 9594
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9594&view=rev
Author:   eighthave
Date:     2008-03-17 08:20:07 -0700 (Mon, 17 Mar 2008)

Log Message:
-----------
backported fix for pasting into text boxes from pd-vanilla 0.41.2

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-17 03:42:23 UTC (rev 9593)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk	2008-03-17 15:20:07 UTC (rev 9594)
@@ -3714,7 +3714,7 @@
 proc pdtk_pastetext {} {
     global pdtk_pastebuffer
     set pdtk_pastebuffer ""
-    catch {global pdtk_pastebuffer; set pdtk_pastebuffer [selection get]}
+    catch {global pdtk_pastebuffer; set pdtk_pastebuffer [clipboard get]}
     #    puts stderr [concat paste $pdtk_pastebuffer]
     for {set i 0} {$i < [string length $pdtk_pastebuffer]} {incr i 1} {
         set cha [string index $pdtk_pastebuffer $i]


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