Merge lp:~mterry/libdbusmenu/check-gmi-for-accel-closures into lp:libdbusmenu/0.5
Proposed by
Michael Terry
Status: | Merged |
---|---|
Merged at revision: | 279 |
Proposed branch: | lp:~mterry/libdbusmenu/check-gmi-for-accel-closures |
Merge into: | lp:libdbusmenu/0.5 |
Diff against target: |
20 lines (+9/-2) 1 file modified
libdbusmenu-gtk/menuitem.c (+9/-2) |
To merge this branch: | bzr merge lp:~mterry/libdbusmenu/check-gmi-for-accel-closures |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
DBus Menu Team | Pending | ||
Review via email: mp+54230@code.launchpad.net |
Description of the change
In figuring out what the heck is wrong with eclipse, I've discovered that SWT menu items are crazy with respect to menu item accelerators.
They use deprecated direct access to the struct to set the user-visible string, then go and set an accelerator on the menu item directly. Now, at least if they ever plan to move to gtk3, they'll have to fix that, but for now, we should deal with it.
Here's a patch to check the menu item for closures directly, if the accel label doesn't have them. It just grabs the first one if any exist.
To post a comment you must log in.