-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Highlight today in date picker #426
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.
We shouldn't be embedding CSS here
I've proposed styles for Gtk.Calendar here elementary/stylesheet#878 |
So this is superseded by elementary/stylesheet#878? |
@cassidyjames not completely. The part about marking Today is still relevant, but the styles should be removed |
To install, use `sudo ninja install` | ||
|
||
ninja install | ||
sudo ninja install |
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.
This is intentional since ninja will use polkit. Please revert this
private const string CSS = """ | ||
calendar | ||
{ | ||
background: transparent; | ||
padding: 3px; | ||
} | ||
"""; | ||
|
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.
Styles are accounted for in the system stylesheet already, so we shouldn't have them here
} | ||
else { |
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.
elementary code style is cuddled else
} | |
else { | |
} else { |
Gonna close this since there's been no response to code review for over a month. Please feel free to reopen if changes are made :) |
Fixes #384 and improves the styling of the date picker a bit.
Before:
After: