Mail Archives: geda-user/2011/10/10/05:18:08
--=-zWq8/DsXB0flC/9nnqfx
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Sun, 2011-10-09 at 20:38 -0400, Dave McGuire wrote:
> Hey folks. Recently, Peter Clifton helped me set up horizontal and=20
> vertical scrolling in gschem via the gesture interface in Ubuntu Linux,=
=20
> using an Apple trackpad. Well, my schematic is done, now I'm starting=
=20
> the PCB layout. Can I do the same with PCB? This works great in=20
> several other apps, like Firefox and gschem.
This is the delta I apply to gpcb-menu.res
Author: Peter Clifton <pcjc2 AT cam DOT ac DOT uk>
Date: Wed Oct 5 23:09:54 2011 +0100
Change scroll-wheel bindings to match more GTK applications
diff --git a/src/gpcb-menu.res.in b/src/gpcb-menu.res.in
index 7e63811..1b85893 100644
--- a/src/gpcb-menu.res.in
+++ b/src/gpcb-menu.res.in
@@ -25,18 +25,18 @@ Mouse =3D
up-shift-ctrl =3D { Mode(Notify) Mode(Restore)
Display(ToggleRubberbandMode)=20
}
Up =3D {
- Zoom(0.8)
- shift =3D Scroll(up)
- ctrl =3D Scroll(left)
+ Scroll(up)
+ shift =3D Scroll(left)
+ ctrl =3D Zoom(0.8)
}
pcjc2 AT pcjc2lap:~/gedasrc/pcb/git$ git log -p HEAD^^^^^^^..HEAD^^^^^^ |
cat
commit 80b304f0952c82441a17f07f5701d25e92385f8e
Author: Peter Clifton <pcjc2 AT cam DOT ac DOT uk>
Date: Wed Oct 5 23:09:54 2011 +0100
Change scroll-wheel bindings to match more GTK applications
diff --git a/src/gpcb-menu.res.in b/src/gpcb-menu.res.in
index 7e63811..1b85893 100644
--- a/src/gpcb-menu.res.in
+++ b/src/gpcb-menu.res.in
@@ -25,18 +25,18 @@ Mouse =3D
up-shift-ctrl =3D { Mode(Notify) Mode(Restore) Display(ToggleRubberban=
dMode) }
}
Up =3D {
- Zoom(0.8)
- shift =3D Scroll(up)
- ctrl =3D Scroll(left)
+ Scroll(up)
+ shift =3D Scroll(left)
+ ctrl =3D Zoom(0.8)
}
Down =3D {
- Zoom(1.25)
- shift =3D Scroll(down)
- ctrl =3D Scroll(right)
+ Scroll(down)
+ shift =3D Scroll(right)
+ ctrl =3D Zoom(1.25)
}
# If you want zoom to center, do this instead.
- #Up =3D { {Zoom(0.8) Center()} }
- #Down =3D { {Zoom(1.25) Center()} }
+ #Up =3D { ctrl =3D {Zoom(0.8) Center()} }
+ #Down =3D { ctrl =3D {Zoom(1.25) Center()} }
}
=20
MainMenu =3D
--=20
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
--=-zWq8/DsXB0flC/9nnqfx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAABAgAGBQJOkrgtAAoJEOo4D/b1x+QVyh4H/3aQluzNWS0PJiEOF47e34E5
NXAEVlpN/4RwruCw5o5iD+L1coMedObAJMEL81ri/4CgXzXytcvFyGYurCLah9AP
uitNm52JtlJILHaVWtYjRVvD/b8dx4UhDNTgwx/hGxYeNh+rmUtazw2B6j37WBob
7RGH5hzkZQKN3YD1YqLLU4nZuEVLi+l604w6gRejr4p5ql0CsmGrU7NI1PeTtyUH
bZDCdhJgwB6GhKDCe7t2neVtEVrMNforVjfArzsiOOq1y07gqzydUGzh5Fn2isbs
gcwh2gYyKWS8rxNh/xWJOozzHRc9D5RyhVOgo8ZGpVJd8TIQH+Q1v6ZuU4hw9zQ=
=qkLI
-----END PGP SIGNATURE-----
--=-zWq8/DsXB0flC/9nnqfx--
- Raw text -