Commit Graph

10 Commits

Author SHA1 Message Date
96c32f5fac Make MessageList extensible.
Also add a placeholder ESettingsMessageList extension.  Going to clean
out some of the direct GSettings usage in MessageList by adding GObject
properties and binding them to GSettings keys from the extension.
2013-06-14 11:27:08 -04:00
c5313b3614 EMailPartHeaders: Add a "default-headers" property.
This will replace the headers API in EMailFormatter.  Need a more
permanent place for headers since EMailFormatter is too disposable.

Also add an ESettingsMailPartHeaders class, which binds the new property
to the "show-headers" setting with a suitable mapping function to filter
out disabled header names.
2013-06-08 00:25:11 -04:00
5794c63f4f EMailBrowser: Add "close-on-reply-policy" property.
Mainly to avoid accessing GSettings directly from EMailBrowser.

Also add a "browser-close-on-reply-policy" GSettings key that replaces
"prompt-on-reply-close-browser", the difference being the new key uses
an enum definition compatible with EAutomaticActionPolicy instead of a
free-form string value.

And finally add an ESettingsMailBrowser class to glue things together.
2013-06-04 13:10:02 -04:00
60386356e3 Remove "Search for sender photograph only in local address books".
This was added as part of bug 360184 but no justification was given
for the "local-only" part.  My Spidey sense tells me it was a hack-
around for the old implementation's tendency to freeze the UI while
searching for a photograph.  So the "local-only" option really just
meant "don't freeze the UI for very long, please".

The new EPhotoCache-based implementation in 3.8 NEVER freezes the UI,
so the "local-only" option is no longer needed.  If a remote address
book is slow or unresponsive we simply cancel the async photo lookup
when the user moves on to another email.
2013-04-20 13:15:27 -04:00
854dfb8075 Add ESettingsDeprecated.
This class is different from the others in this module.  Its purpose
is to transfer values from deprecated GSettings keys to the preferred
keys on startup, and keep them synchronized at all times for backward
compatibility.

Initial deprecated keys being handled are:

  "week-start-day"  (org.gnome.evolution.calendar)
  "working-days"    (org.gnome.evolution.calendar)
2013-03-17 08:49:11 -04:00
98f4b4a74b Add ESettingsSpellEntry.
Automatically configures the "checking-enabled" property on all
ESpellEntry instances.
2013-03-11 13:37:57 -04:00
529c50f134 Add ESettingsWeekdayChooser.
Configures the "week-start-day" property of EWeekdayChooser.
2013-03-08 15:27:01 -05:00
d2f53b4b8f Add ESettingsPhotoCache.
Configures an EPhotoCache with values from GSettings.
2013-02-27 10:59:54 -05:00
a26c98ad5a Add ESettingsClientCache.
Listens for "client-created" signals from its EClientCache.  If the
newly-created client is an ECalClient, automatically configure its
default timezone from EShellSettings.
2013-02-16 18:57:08 -05:00
8a71509ee4 Add a "settings" module.
Collect all the "config" extensions from the "addressbook", "calendar",
and "mail" modules into one place.  These extensions typically just bind
GObject properties of extensible classes to app-specific GSettings keys.
2013-01-20 20:56:16 -05:00