Menu

#1405 Tools menu keyboard shortcuts in GTK3

Cosmetic
closed-fixed
3
2021-09-22
2012-09-15
stone1343
No

If you add commands to the Tools menu using a properties file in GTK3, the keyboard shortcut is not shown right-justified, but it follows directly behind the command name. I can't create a screen capture for it, but the menu entry looks like this:

| Open Help Ctrl+2 |

when it should look like

| Open Help Ctrl+2 |

It's cosmetic, but it does make it marginally more difficult to find the keyboard shortcut on the menu.

To reproduce, create any of the SciTE properties files, global, user or local

command.2.*=xdg-open "file://$(SciteDefaultHome)/SciTEDoc.html"
command.name.2.*=Open Help
command.subsystem.2.*=2

Discussion

  • stone1343

    stone1343 - 2012-09-15

    I see my little ASCII art didn't work but you probably know what I'm trying to say anyway
    Jeff

     
  • Neil Hodgson

    Neil Hodgson - 2012-09-16
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
    • status: open --> open-accepted
     
  • Neil Hodgson

    Neil Hodgson - 2012-09-16

    When the code was written there didn't appear to be an API for this. Anyone who wants to work on this could look at http://developer.gnome.org/gtk/2.24/GtkAccelLabel.html

     
  • Andrey Moskalyov

    I tried to fix it.

     
  • Neil Hodgson

    Neil Hodgson - 2021-09-17
    • labels: SciTE --> SciTE, menu, gtk
    • status: open-accepted --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2021-09-17

    Committed as [4fbea4]. Added a couple of consts.

     

    Related

    Commit: [4fbea4]

  • Neil Hodgson

    Neil Hodgson - 2021-09-22
    • status: open-fixed --> closed-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2021-09-22

    Committed as [4fbea4]. Added a couple of consts.

     

    Related

    Commit: [4fbea4]


Log in to post a comment.

MongoDB Logo MongoDB