Commit Graph

20 Commits

Author SHA1 Message Date
59e2efa774 Share GSettings objects with e_util_ref_settings()
A simple Evolution run and move between all views means creation of
more than 100 GSettings objects, with only a bit more than 10 schemas.
Reusing the objects should have a positive impact on a performance too.
2014-11-13 10:06:04 +01:00
bcc3a1c7e6 Add missing chain-up-s to parent's constructed() method
Plus a little code cleanup for easier grepping.
2014-07-17 12:46:38 +02:00
8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
4ea43b34a8 Move EMailImageLoadingPolicy to e-mail-formatter-enums.h.
libemail-engine doesn't need to know about this enum.
2013-11-11 08:29:20 -05:00
9c1975632e Generate enum GTypes for libevolution-mail.
Steals some enum types that libemail-engine doesn't need to know about.
2013-11-11 08:29:20 -05:00
4c2233114d Rename e-mail-enums.h to e-mail-engine-enums.h. 2013-11-11 08:29:20 -05:00
3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
996055c6e5 Bug #698275 - Enable/disable account yields to a several seconds busy loop 2013-08-21 12:52:31 +02:00
f8f196ca0f Bug 704259 - Fix "reply-style" key migration logic
Apparently the migration logic was more complex than it needed to be.
The old numeric key was already synced to the EMailReplyStyle enum in
the source code.  Dunno where I got the idea it wasn't.

Just more evidence numeric enum keys are bad.
2013-07-17 16:35:44 -04:00
1c31145422 Bug 702664 - Settings migration issue from "headers" to "show-headers"
My previous patch didn't go far enough to repair an already-corrupted
"show-headers" key.  Need to actually reset it to its default value if
the "headers" key is empty.
2013-07-10 09:19:28 -04:00
f927a9a169 Bug 702664 - Settings migration issue from "headers" to "show-headers"
Give the "show-headers" key a proper default value, and watch out for
an empty "headers" key, which is supposed to imply that default value.
2013-06-21 11:06:16 -04:00
3e8b6ddf8d Add "show-headers" settings key.
Replaces the "headers" key.  Whereas "headers" is an array of XML
blobs, the "show-headers" key is an array of string/boolean pairs.

Also update the appropriate places to get/set the new key.
2013-06-05 13:03:45 -04:00
d388f9b5cf ESettingsDeprecated: Fix missing handler ID assignment. 2013-06-05 13:03:45 -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
69cf1ede0d Add "image-loading-policy" setting.
Replaces the "load-http-images" setting, which is now deprecated.

The new setting uses an enum type compatible with EMailImageLoadingPolicy.
2013-03-17 08:49:12 -04:00
54bb7dd76c Add "reply-style-name" setting.
Replaces the "reply-style" setting, which is now deprecated.

The new setting uses an enum type compatible with EMailReplyStyle.
2013-03-17 08:49:12 -04:00
c8bbe0df73 Add "forward-style-name" setting.
Replaces the "forward-style" setting, which is now deprecated.

The new setting uses an enum type compatible with EMailForwardStyle.
2013-03-17 08:49:12 -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