Merge lp:~gue5t/midori/appmenu-menubar-binding into lp:midori
Proposed by
gue5t gue5t
Status: | Merged |
---|---|
Approved by: | Cris Dywan |
Approved revision: | 7013 |
Merged at revision: | 7013 |
Proposed branch: | lp:~gue5t/midori/appmenu-menubar-binding |
Merge into: | lp:midori |
Diff against target: |
14 lines (+3/-2) 1 file modified
midori/midori-window.vala (+3/-2) |
To merge this branch: | bzr merge lp:~gue5t/midori/appmenu-menubar-binding |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cris Dywan | Approve | ||
Review via email: mp+267463@code.launchpad.net |
Commit message
fix property binding to ensure that exactly one of appmenu button and menubar is always visible
Description of the change
As of a recent commit, the appmenu icon is always visible in the toolbar. This is because the property binding intended to control its visibility was only set if the *window*'s name was "CompactMenu", rather than checking if the action being created by the window was named that.
In addition, the binding needed to invert the boolean to ensure that if the menubar is shown, the appmenu is *not* visible. This patch makes it work as intended.
To post a comment you must log in.
Good catch. I completely didn't realize that it would've been using the window's name.