Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: get background color from GtkMenuBar#menubar #14785

Merged
merged 2 commits into from Sep 25, 2018
Merged

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Sep 24, 2018

Description of Change

Resolves #13381.

Changes the background color of the menubar to match the GTK theme if there is one.

Checklist
  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines
Release Notes

Notes: fixes incorrect background color on GTK menubar


#include "atom/browser/ui/views/menu_delegate.h"
#include "atom/browser/ui/views/submenu_button.h"
#include "chrome/browser/ui/libgtkui/gtk_util.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also needs to be guarded by USE_X11

@codebytere codebytere changed the title [WIP] fix: get background color from GtkMenuBar#menubar fix: get background color from GtkMenuBar#menubar Sep 25, 2018
@codebytere codebytere merged commit c9bc347 into master Sep 25, 2018
@release-clerk
Copy link

release-clerk bot commented Sep 25, 2018

Release Notes Persisted

fixes incorrect background color on GTK menubar

@codebytere codebytere deleted the fix-gtk-menubar-bg branch September 25, 2018 20:57
@codebytere
Copy link
Member Author

I'm gonna have to roll these patch changes into libcc to backport them 💀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Linux] Menubar background color is always white
3 participants