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

Simplify UI code #221

Merged
merged 2 commits into from
May 6, 2024
Merged

Simplify UI code #221

merged 2 commits into from
May 6, 2024

Conversation

ARAKHN1D
Copy link
Contributor

@ARAKHN1D ARAKHN1D commented May 4, 2024

Using the gtk4-builder-tool, the UI files were simplified, with lines that set properties to their defaults removed along with whitespace, etc. It also switched bools to 0 and 1s, but I reverted that since I felt that it was easier to read and understand a bool at a glance, and the point of this was to improve readability and cleanliness. You can close this if you feel it's not important or useful.

This makes the code cleaner by removing and replacing redundant code.
This was done because it's easier to see "true" or "false" to know what
a bool property is set to compared to a number, and the goal of this PR
was to clean and improve readability.
@Huluti
Copy link
Owner

Huluti commented May 6, 2024

That's perfect thanks!

@Huluti Huluti merged commit 4742cff into Huluti:master May 6, 2024
1 check passed
@ARAKHN1D ARAKHN1D deleted the simplify-ui-code branch May 6, 2024 17:50
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.

2 participants