summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28d1b11)
raw | patch | inline | side by side (parent: 28d1b11)
author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 12 Oct 2007 15:13:58 +0000 (11:13 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 13 Oct 2007 03:05:59 +0000 (23:05 -0400) |
On Windows we need to actually setup binds for the accelerator
keys, otherwise the OS doesn't respond to them when the user
presses the key combinations. Apparently we automatically get
these on Mac OS X when we configure the menu commands, but not
on Windows.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
keys, otherwise the OS doesn't respond to them when the user
presses the key combinations. Apparently we automatically get
these on Mac OS X when we configure the menu commands, but not
on Windows.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/choose_repository.tcl | patch | blob | history |
index 1e55aec90a369a74623362239b79ded058a0335b..e66df85964cc68bb19c9e12763027d590817b4e3 100644 (file)
-command [cb _next new] \
-accelerator $M1T-N \
-label [mc "New..."]
+ bind $top <$M1B-n> [cb _next new]
+ bind $top <$M1B-N> [cb _next new]
}
$opts tag conf link_clone -foreground blue -underline 1
-command [cb _next clone] \
-accelerator $M1T-C \
-label [mc "Clone..."]
+ bind $top <$M1B-c> [cb _next clone]
+ bind $top <$M1B-C> [cb _next clone]
}
$opts tag conf link_open -foreground blue -underline 1
-command [cb _next open] \
-accelerator $M1T-O \
-label [mc "Open..."]
+ bind $top <$M1B-o> [cb _next open]
+ bind $top <$M1B-O> [cb _next open]
}
$opts conf -state disabled