# HG changeset patch
# User Henrik Stuart <[email protected]>
# Date 1254166938 -7200
# Node ID 4c83e1c77ab43631392aabebd9026d8ae41d1373
# Parent b012c6819dd06abaaf5f485592b8abdfa87764d5
gtklib: add ctrl+r standard accel for refresh
diff -r b012c6819dd0 -r 4c83e1c77ab4 tortoisehg/hgtk/gtklib.py
--- a/tortoisehg/hgtk/gtklib.py Mon Sep 28 14:41:24 2009 +0200
+++ b/tortoisehg/hgtk/gtklib.py Mon Sep 28 21:42:18 2009 +0200
@@ -52,6 +52,9 @@
key, modifier = gtk.accelerator_parse('F5')
window.add_accelerator('thg-refresh', accelgroup, key, modifier,
gtk.ACCEL_VISIBLE)
+ key, modifier = gtk.accelerator_parse(mod+'r')
+ window.add_accelerator('thg-refresh', accelgroup, key, modifier,
+ gtk.ACCEL_VISIBLE)
key, modifier = gtk.accelerator_parse(mod+'Return')
window.add_accelerator('thg-accept', accelgroup, key, modifier,
gtk.ACCEL_VISIBLE)
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop