Merge lp:~attente/chromium-browser/chromium-browser into lp:~cmiller/chromium-browser/ppa-chromium-browser.raring.stable
Status: | Rejected |
---|---|
Rejected by: | Chad Miller |
Proposed branch: | lp:~attente/chromium-browser/chromium-browser |
Merge into: | lp:~cmiller/chromium-browser/ppa-chromium-browser.raring.stable |
Diff against target: |
41 lines (+29/-0) 2 files modified
debian/patches/menu-bar-visible.patch (+28/-0) debian/patches/series (+1/-0) |
To merge this branch: | bzr merge lp:~attente/chromium-browser/chromium-browser |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Miller | Pending | ||
Review via email:
|
Description of the change
The global menu bar in Chromium is already a hack for Unity. It implements its Unity menu bar by creating an invisible GtkMenuBar and adding it to the widget hierarchy. But we should prefer to show the menu bar instead, with a size of 0x0.
While this is still a hack on top of another hack, it's still preferable until the appropriate fix is made. The appropriate fix is to export a GMenuModel and not create the GtkMenuBar at all.
(Also, see commit message)
Unmerged revisions
- 823. By William Hua
-
Make the menu bar visible, but taking zero space.
Before, an invisible menu bar was added to the widget hierarchy, but
never shown, for the sake of Unity. Instead we make it visible, but give
it zero space in the browser window UI layout.The proper fix for the menu bar altogether is to export GMenuModels
directly and not add any GtkMenuBar at all.