DescriptionGtk3: Use menubar instead of headerbar on version less than 3.10
Headerbars were added in Gtk3.10. All officially supported Chromium
distros meet this requirement, but this CL adds a check in case there
are any users on odd distros without Gtk3.10. Specifically, a menubar
is used instead of a headerbar in this case.
In addition, this CL also changes the interface of several functions
in gtk_util to use std::string instead of char*, so that I could use
string concatenation in gtk_ui.cc.
BUG=79722
R=erg@chromium.org
Review-Url: https://codereview.chromium.org/2783433002
Cr-Commit-Position: refs/heads/master@{#459934}
Committed: https://chromium.googlesource.com/chromium/src/+/14e3acc30f4da1fe3f601828101af47eff68a828
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove bogus line #
Messages
Total messages: 15 (9 generated)
|