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

For GTK2, building just the dark variant fails if the expected light variant assets are not also built. #122

Merged
merged 1 commit into from
Apr 4, 2021
Merged

For GTK2, building just the dark variant fails if the expected light variant assets are not also built. #122

merged 1 commit into from
Apr 4, 2021

Conversation

tony-traylen
Copy link

For GTK2, building just the dark variant fails if the expected light variant assets are not also built. Reason: the dark and darker variants use both 'light_menubar_toolbar_assets' and 'dark_menubar_toolbar_assets'. Fix: always build the light assets.

@jnsh
Copy link
Owner

jnsh commented Apr 3, 2021

Thank you. Nicely spotted and the fix should be correct.

Could you just improve the commit message a bit, by adding a separate subject line at the beginning, e.g. build: Always render light assets, and a full URL to this pull request at the end (as requested in HACKING.md).

@tony-traylen
Copy link
Author

Hey jnsh, thanks for the hint; my first ever PR. An amended commit message has been pushed - hopefully in an appropriate manner.

@jnsh
Copy link
Owner

jnsh commented Apr 3, 2021

Looks like I made a mistake on my suggestion for the first message line. That should have been build: Always render light GTK2 assets, since this only affects GTK2. Would you mind amending this one more time? Sorry about the hassle :/

Otherwise this looks perfect. Thank you!

Generally it's recommended to always have the first line as a separate title/short summary, as that works best for many git commands and tools. Some projects may also have special wishes for the commit messages (such as mentioning the relevant bug reports and pull requests, etc.). I recommend this post if you're interested in further reading about good commit messages :)

For GTK2, building just the dark variant fails if the
'light_menubar_toolbar_assets' are not rendered.

#122
@tony-traylen
Copy link
Author

Cheers for the advice and reference on best practice!

@jnsh jnsh merged commit f896a94 into jnsh:master Apr 4, 2021
@jnsh
Copy link
Owner

jnsh commented Apr 4, 2021

Merged. Thanks again!

pull bot pushed a commit to Briffou/arc-theme that referenced this pull request Apr 4, 2021
For GTK2, building just the dark variant fails if the
'light_menubar_toolbar_assets' are not rendered.

jnsh#122
pull bot pushed a commit to Briffou/arc-theme that referenced this pull request Apr 4, 2021
For GTK2, building just the dark variant fails if the
'light_menubar_toolbar_assets' are not rendered.

jnsh#122
pull bot pushed a commit to Briffou/arc-theme that referenced this pull request Apr 4, 2021
For GTK2, building just the dark variant fails if the
'light_menubar_toolbar_assets' are not rendered.

jnsh#122
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.

None yet

2 participants