aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-11 21:56:15 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-11 21:56:15 +0000
commit006842b0ed2893a3767a2aaf1f836b8ebcd90c4e (patch)
treea13ced3184aed0e854f590967144e38d1cbb1840
parent2179dc391b01aec589e70d96dfc03a9f512ff095 (diff)
switched Cmd-Click to the more Pd-ish behavior that Ctrl-Click has on the other platforms
svn path=/trunk/; revision=8031
-rw-r--r--packages/patches/cmd-click_manipulates_GUIs-0.41.0-test03.patch10
-rw-r--r--packages/patches/cmd-click_toggles_editmode-0.41.0-test03.patch25
2 files changed, 10 insertions, 25 deletions
diff --git a/packages/patches/cmd-click_manipulates_GUIs-0.41.0-test03.patch b/packages/patches/cmd-click_manipulates_GUIs-0.41.0-test03.patch
new file mode 100644
index 00000000..b4f296a5
--- /dev/null
+++ b/packages/patches/cmd-click_manipulates_GUIs-0.41.0-test03.patch
@@ -0,0 +1,10 @@
+--- u_main.tk 2006-12-11 21:20:49.000000000 -0500
++++ u_main.tk 2007-07-11 17:46:11.000000000 -0400
+@@ -1152,6 +1192,7 @@
+ bind $name.c <Option-Button> {pdtk_canvas_click %W %x %y %b 4}
+ bind $name.c <Option-Shift-Button> {pdtk_canvas_click %W %x %y %b 5}
+ bind $name.c <Option-Control-Button> {pdtk_canvas_click %W %x %y %b 6}
++ bind $name.c <Mod1-Button> {pdtk_canvas_click %W %x %y %b 6}
+ bind $name.c <Option-Control-Shift-Button> \
+ {pdtk_canvas_click %W %x %y %b 7}
+ } else {
diff --git a/packages/patches/cmd-click_toggles_editmode-0.41.0-test03.patch b/packages/patches/cmd-click_toggles_editmode-0.41.0-test03.patch
deleted file mode 100644
index 2d41da36..00000000
--- a/packages/patches/cmd-click_toggles_editmode-0.41.0-test03.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: u_main.tk
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/u_main.tk,v
-retrieving revision 1.17.2.16
-diff -u -w -r1.17.2.16 u_main.tk
---- u_main.tk 8 Jul 2007 21:56:30 -0000 1.17.2.16
-+++ u_main.tk 9 Jul 2007 17:04:42 -0000
-@@ -1194,6 +1194,7 @@
- bind $name.c <Option-Control-Button> {pdtk_canvas_click %W %x %y %b 6}
- bind $name.c <Option-Control-Shift-Button> \
- {pdtk_canvas_click %W %x %y %b 7}
-+ bind $name.c <Mod1-Button> {pdtk_canvas_ctrlclick %W %x %y %b}
- } else {
- bind $name.c <Alt-Button> {pdtk_canvas_click %W %x %y %b 4}
- bind $name.c <Alt-Shift-Button> {pdtk_canvas_click %W %x %y %b 5}
-@@ -1514,7 +1515,8 @@
- }
-
- proc pdtk_canvas_ctrlclick {name x y b} {
-- pd [canvastosym $name] mouse [$name canvasx $x] [$name canvasy $y] $b 2 \;
-+# first get rid of ".c" suffix; we'll refer to the toplevel instead
-+ menu_editmode [string trimright $name .c]
- }
-
- proc pdtk_canvas_altclick {name x y b} {