Merge lp://staging/~3v1n0/gtk/ubuntugtk3-fix-gtkbuilder-menus into lp://staging/~ubuntu-desktop/gtk/ubuntugtk3
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Merged at revision: | 107 |
Proposed branch: | lp://staging/~3v1n0/gtk/ubuntugtk3-fix-gtkbuilder-menus |
Merge into: | lp://staging/~ubuntu-desktop/gtk/ubuntugtk3 |
Diff against target: |
260 lines (+66/-31) 2 files modified
debian/changelog (+10/-0) debian/patches/043_ubuntu_menu_proxy.patch (+56/-31) |
To merge this branch: | bzr merge lp://staging/~3v1n0/gtk/ubuntugtk3-fix-gtkbuilder-menus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Approve | ||
Ted Gould (community) | Approve | ||
Review via email:
|
Description of the change
Fixing bug #849732
I've explained more about this issue on this bug comment: https:/
Read more about the implementation in the bzr commit, by the way I've just added a class function to GtkMenuBar to make it not to disable the accelerators defined in its children when using a GtkMenu (like it's happening with GtkBuilder menus).
To post a comment you must log in.
I think that this local variable is unneeded
140 ++ GtkMenuBar *menu_bar;
141 ++
But I think the approach makes sense. I'd describe it slightly differently though. Instead of using the gtk_widget_ visible( ) function we're checking the internal shown variable as that represents the internal state instead of whether it is actually visible to the user.