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

PR: Restore submenu icon on internal console settings #13689

Merged

Conversation

goanpeca
Copy link
Member

@goanpeca goanpeca commented Sep 1, 2020

Description of Changes

I think the Apple HIC guidelines do not recommend having Icons in SubMenus (they generally also advise against having submenus). So that is why this PR needs to override the default settings Qt uses for Mac with:

internal_settings_menu.menuAction().setIconVisibleInMenu(True)

Issue(s) Resolved

Fixes #13683

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

@goanpeca goanpeca self-assigned this Sep 1, 2020
@goanpeca goanpeca added this to the v5.0alpha2 milestone Sep 1, 2020
@steff456
Copy link
Member

steff456 commented Sep 2, 2020

/show binder

@github-actions
Copy link

github-actions bot commented Sep 2, 2020

Binder 👈 Launch a Binder instance on this branch

steff456
steff456 previously approved these changes Sep 2, 2020
Copy link
Member

@steff456 steff456 left a comment

Choose a reason for hiding this comment

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

Thanks @goanpeca!

@dalthviz this is ready for merge

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

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

@goanpeca left a comment. Besides that LGTM 👍

spyder/plugins/console/widgets/main_widget.py Outdated Show resolved Hide resolved
@goanpeca goanpeca force-pushed the fix/restore-internal-console-icon branch from e1646c4 to d6462e3 Compare September 3, 2020 15:37
@dalthviz
Copy link
Member

dalthviz commented Sep 3, 2020

@andfoy @steff456 could you help manually test this again? Thanks!

@steff456
Copy link
Member

steff456 commented Sep 3, 2020

/show binder

@github-actions
Copy link

github-actions bot commented Sep 3, 2020

Binder 👈 Launch a Binder instance on this branch

@ccordoba12
Copy link
Member

ccordoba12 commented Sep 3, 2020

@steff456, there's no need to generate a new Binder button after new commits have been pushed to a PR. Any button will load its latest commits.

@steff456
Copy link
Member

steff456 commented Sep 3, 2020

@ccordoba12, thanks for the info! I didn't knew that any button will work (:

Copy link
Member

@steff456 steff456 left a comment

Choose a reason for hiding this comment

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

This PR is working as expected, it is ready to merge @dalthviz

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

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

Thanks @goanpeca LGTM 👍

@dalthviz dalthviz merged commit 849db6a into spyder-ide:master Sep 3, 2020
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.

The icon of internal console settings disappeared
4 participants