Package: dirdiff Version: 2.1-6 Severity: wishlist Tags: patch Hello Santiago and Paul
attached you'll find a patch that adds menu accelerators to dirdiff. That is, like in any other program, it allows you to press Alt-F (and similar for the other menu entries) to open that menu entry. I'm sending a Cc: to Paul Mackerras in the hopes that maybe this would get included upstream and so make it also to the other distributions and the world. In addition to the attached patch to dirdiff that in the case of Debian would go to debian/patches/menu-accelarators.patch you can also: * echo "menu-accelarators.patch" >> debian/patches/series and * add something similar to this the top of debian/changelog: ############################################################################# dirdiff (2.1-6) unstable; urgency=low [Tomas Pospisek] * add menu accelerators -- Tomáš Pospíšek <tpo_...@sourcepole.ch> Sun, 14 Jul 2013 12:15:44 +0200 ############################################################################# Thanks, *t -- System Information: Debian Release: 7.1 APT prefers stable APT policy: (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 3.10-rc7-amd64 (SMP w/8 CPU cores) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dirdiff depends on: ii libc6 2.13-38 ii tcl8.5 8.5.11-2 ii tk8.5 8.5.11-2 dirdiff recommends no packages. dirdiff suggests no packages. -- no debconf information
--- cvs-local.orig/dirdiff +++ cvs-local/dirdiff @@ -607,7 +607,7 @@ # Native-style menubar menu .bar - .bar add cascade -label "File" -menu .bar.file + .bar add cascade -label "File" -menu .bar.file -accelerator "Alt-F" -underline 0 # File menu menu .bar.file @@ -632,17 +632,17 @@ # Diff menu set diffbut .bar.diff menu $diffbut - .bar add cascade -label "Diff" -menu $diffbut + .bar add cascade -label "Diff" -menu $diffbut -accelerator "Alt-D" -underline 0 $diffbut add command -label "All" -command difffiles # Copy menu set copybut .bar.copy menu $copybut - .bar add cascade -label "Copy/Del" -menu $copybut + .bar add cascade -label "Copy/Del" -menu $copybut -accelerator "Alt-C" -underline 0 # Options menu menu .bar.options - .bar add cascade -label "Options" -menu .bar.options + .bar add cascade -label "Options" -menu .bar.options -accelerator "Alt-O" -underline 0 .bar.options add radiobutton -label "Literal comparison" \ -variable rcsflag -value " " \ @@ -683,7 +683,7 @@ # Help menu menu .bar.help - .bar add cascade -label "Help" -menu .bar.help + .bar add cascade -label "Help" -menu .bar.help -accelerator "Alt-H" -underline 0 .bar.help add command -label "About dirdiff" -command about .bar.help add command -label "About diff" -command about_diff .bar.help add command -label "Show help text" -command helptext