This appends a 1-9 or 0 number label before all 10 entries in the Recent Files 
submenu, which double as mnemonics for fast keyboard access; this is similar to 
how recent files entries work in the menu of e.g. Notepad++ or Atril. This 
turned out to be slightly more involved than anticipated, and the resulting 
code feels somewhat dirty. I apologize for the mess and welcome any pointers on 
how to improve it.

I noticed a tiny cosmetic bug which I couldn't clean up in due time: in the 
Toolbar's "Open a recent file"  dropdown menu, the mnemonic hints (underlines 
under the number labels) have a tendency to get stuck on being always 
displayed, instead of hiding after the menu is closed.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4582

-- Commit Summary --

  * Added numerical mnemonics for Recent Files

-- File Changes --

    M src/ui_utils.c (160)

-- Patch Links --

https://github.com/geany/geany/pull/4582.patch
https://github.com/geany/geany/pull/4582.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4582
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to