Merge lp:~bratsche/appmenu-gtk/uimanager-fixes into lp:appmenu-gtk/0.4
Proposed by
Cody Russell
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 45 | ||||||||
Proposed branch: | lp:~bratsche/appmenu-gtk/uimanager-fixes | ||||||||
Merge into: | lp:appmenu-gtk/0.4 | ||||||||
Diff against target: |
164 lines (+73/-22) 1 file modified
src/bridge.c (+73/-22) |
||||||||
To merge this branch: | bzr merge lp:~bratsche/appmenu-gtk/uimanager-fixes | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Review via email: mp+29045@code.launchpad.net |
Description of the change
This fixes a number of issues that occur when building menus from GtkUIManager, including empty submenus in wrong places (see the Quit menu in Anjuta), crashes (see the File menu in Nautilus). It reverts the change in revision 30 where we skip separators that follow other separators (this was actually the cause of the Nautilus crash), and instead adds all separators and marks invisible the ones which are actually placeholders/smart separators.
To post a comment you must log in.
Looks good. Not for this review but I'm curious if we shoudln't replace the "recurse" variable with a GArray?