-
Notifications
You must be signed in to change notification settings - Fork 85
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
bugfix: ugly white border (gtk 3.20>) #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add conditionals so that gtk-3.20< isn't affected by this change
Yes you do. As you can tell I've messed with that before. I'd rather it not affect gtk < 3.20. @leigh123linux in Fedora you might want to tweak your theme a bit once this is merged. I did this in Mint-Y: linuxmint/mint-y-theme@735fd68#diff-68426d2ebfa0f55850ee1027cde252bfR841 It brings back the border between the bottom bars and the notebook. |
ok I have added a gtk version check before I hide the border. ;) |
Sorry to keep nitpicking you on such a small thing but I'd prefer if you follow our typical conventions for this.
This makes them easier to find and clean up later on. When formatting your code using if() statements and such please follow conventions used throughout the rest of the code. So something like
I'd appreciate if you you update the PR and squash it down to a single commit. Not sure we need three commits to change a single line :) |
Thanks. |
Done! 🍔 :) |
I tested this and it fixes the issue on gtk 3.22.15. Checked with a few gtk themes and xed themes and didn't see any issues. 👍 |
@JosephMcc Thanks for the pointer, does this commit look ok? |
@leigh123linux I don't think you can use the XedFileBrowserWidget class name. I haven't worked much yet with theming beyond 3.18 but I don't think the use of class names is supported any longer. You would have to test on your end but I think .xed-window .small-button would work in this case. So yo could add the .small-button part within your .xed-window block in the sass file. |
@JosephMcc Thanks, does that look better? I don't see any additional warnings with either. |
As far as I understand it, that should work. You should be able to tell. It makes the navigation buttons in the sidebar file browser widget a good bit smaller. They were quite large originally in Mint-Y without that. |
No description provided.