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

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Tue Jun 17 10:27:29 CEST 2008


Revision: 10010
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10010&view=rev
Author:   eighthave
Date:     2008-06-17 01:27:28 -0700 (Tue, 17 Jun 2008)

Log Message:
-----------
silly workaround to avoid Ctrl-W being bound to the Pd window, fixing bug #1992615

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-06-16 10:24:42 UTC (rev 10009)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk	2008-06-17 08:27:28 UTC (rev 10010)
@@ -342,10 +342,12 @@
 }
 
 pdtk_standardkeybindings .
+# hacks to add standard key bindings to the Pd window
 bind . <$ctrl_key-Key-a> {.printout.text tag add sel 1.0 end}
 bind . <$ctrl_key-Key-x> {tk_textCut .printout.text}
 bind . <$ctrl_key-Key-c> {tk_textCopy .printout.text}
 bind . <$ctrl_key-Key-v> {tk_textPaste .printout.text}
+bind . <$ctrl_key-Key-w> {pdtk_post "Can't close Pd window, ignored.\n"}
 
 wm title . "Pd"
 # initial location of Pd window (+x+y)


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