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: honor dialog.showMessageBox()'s Icon argument on Linux (backport: 4-0-x) #15343

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Oct 23, 2018

Backport of #15326

See that PR for details.

Notes: Honor dialog.showMessageBox()'s icon argument on Linux

ckerr added 3 commits October 23, 2018 17:45
Fixes electron#15317.

Notes: Fixed incorrect display of some GtkMessageDialog icons.

The issue is caused because GtkMessageDialog contains an icon widget
which is not shown when there's no associated icon. Our call to
`gtk_widget_show_all()` overrides this, showing the uninitialized
icon widget.

This PR fixes the issue by calling `gtk_widget_show()` where needed
and removing use of `gtk_widget_show_all()` in the message dialog.
@trop trop bot requested a review from a team October 23, 2018 17:45
@trop trop bot added 4-2-x backport This is a backport PR labels Oct 23, 2018
@codebytere codebytere merged commit a51ad1f into electron:4-0-x Oct 23, 2018
@release-clerk
Copy link

release-clerk bot commented Oct 23, 2018

Release Notes Persisted

Honor dialog.showMessageBox()'s icon argument on Linux

@ckerr ckerr mentioned this pull request Oct 24, 2018
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4-2-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants