shortcuts: Support ranges in the display of shortcuts

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 22 October 2015 13:32 UTC

Repeating Alt-1 to Alt-9 as individual shortcuts looks really boring, so allow compressing such ranges by specifying 1...9.

67a54bf shortcuts: Support ranges in the display of shortcuts
gtk/gtkshortcutlabel.c | 81 ++++++++++++++++++++++++++++++++------------
gtk/gtkshortcutsshortcut.c | 9 +++--
2 files changed, 67 insertions(+), 23 deletions(-)

Upstream: git.gnome.org


  • Share