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: set size of GTK about panel icon #18957

Merged
merged 1 commit into from
Jun 26, 2019
Merged

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Jun 24, 2019

Description of Change

Refs #3 on #18918.

Previously, we unconditionally passed through whatever icon was at the iconPath passed to a new Linux about panel. On other platforms, it's standardized, and so this PR changes previous behavior such that any icon can be passed in and will be automatically resized to 64x64 pixels while retaining the aspect ratio.

cc @ckerr @sindresorhus @MarshallOfSound

Checklist

Release Notes

Notes: Standardized the about panel icon size on Linux.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 24, 2019
shell/browser/browser_linux.cc Outdated Show resolved Hide resolved
shell/browser/browser_linux.cc Outdated Show resolved Hide resolved
shell/browser/browser_linux.cc Outdated Show resolved Hide resolved
@codebytere codebytere force-pushed the force-size-about-panel-gtk branch 2 times, most recently from 3604980 to 4c35c63 Compare June 24, 2019 17:55
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

LGTM

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 25, 2019
@codebytere codebytere merged commit 5298358 into master Jun 26, 2019
@release-clerk
Copy link

release-clerk bot commented Jun 26, 2019

Release Notes Persisted

Standardized the about panel icon size on Linux.

@codebytere codebytere deleted the force-size-about-panel-gtk branch June 26, 2019 05:17
@codebytere
Copy link
Member Author

/trop run backport-to 6-0-x,5-0-x

@trop
Copy link
Contributor

trop bot commented Jul 15, 2019

The backport process for this PR has been manually initiated,
sending your 1's and 0's to "6-0-x" here we go! :D

@trop
Copy link
Contributor

trop bot commented Jul 15, 2019

The backport process for this PR has been manually initiated,
sending your 1's and 0's to "5-0-x" here we go! :D

@trop
Copy link
Contributor

trop bot commented Jul 15, 2019

I was unable to backport this PR to "6-0-x" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Jul 15, 2019

I was unable to backport this PR to "5-0-x" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Aug 1, 2019

A maintainer has manually backported this PR to "6-0-x", please check out #19572

@sofianguy sofianguy added this to Fixed in 6.0.1 in 6.1.x Aug 7, 2019
@sofianguy sofianguy added this to Fixed in 5.0.9 in 5.0.x Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
5.0.x
Fixed in 5.0.9
6.1.x
Fixed in 6.0.1
Development

Successfully merging this pull request may close these issues.

None yet

2 participants