libedataserverui: Tweak lookout of the Trust Prompt dialog
In some rare occasions where EDS encounters a TLS certificate problem, when refreshing calendars for example, the user may be presented with something like this:
I don't really understand what is the difference between Cancel and Reject, and while Cancel gets the default action focus, I would suggest that if these remain two separate actions, Reject
should get the suggested-action
style class (to make it blue on GNOME) and more prominent as the recommended action from a security standpoint. Users shouldn't be accepting invalid certificates unless they have a really good reason for doing so.
Furthermore, some other minor improvements that could be made:
- The dialog's title should probably be more descriptive than "Certificate trust..."; could it be something like "Invalid security certificate"?
- "an SSL/TLS certificate" seems to be a linguistic mistake, where "an" should be "a"
- The dialog could benefit from some standard (6 or 12px) padding around the contents (i.e. around everything other than the titlebar), because the icon and text are really close to the edges right now.