Commit Graph

73 Commits

Author SHA1 Message Date
332789ff89 Bug 751588 - Port to WebKit2 2016-08-11 10:13:00 +02:00
d6ded7a550 Make some settings changes in mail composer permanent
It used to read options from the settings, but did not write
any changes back, thus the next composer open the option changes
were forgotten.
2016-04-01 19:35:33 +02:00
04f150f02c Bug 760563 - [Calendar] Add option to show icons in the Month View 2016-01-25 17:04:33 +01:00
5032f7c8e2 Make calendar editors modular and non-UI-blocking 2015-11-02 17:34:10 +01:00
300bdfd429 Bug 687326 - Provide "Show Junk Messages" option for message list 2015-10-16 18:16:52 +02:00
94639e7224 Bug 231666 - Ability to set different work time for different days 2015-06-16 15:32:45 +02:00
78ed4ca15e Bug 692557 - Add option to always sort thread children ascending 2015-04-24 10:37:54 +02:00
98c950f622 Bug 747031 - Add hidden option to mark-as-seen always
In a meaning: also after selected folder change.
2015-04-02 19:21:58 +02:00
9dcac58b21 Use thread safe variants of g_object_bind_property*() functions from evolution-data-server 2015-02-24 09:54:41 +01:00
99913ec7c3 Bug 740169 - Add support for smileys via Unicode-characters 2015-02-18 19:01:42 +01:00
0b91d60b83 Bug 743109 - Do not require spam software during build time 2015-02-06 07:52:45 +01:00
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
37393c0da9 Propagate settings from Prefences to the EHTMLEditorView
Namely "Use the same fonts as other applications", "Standard Font",
"Fixed Width Font", "Highlight quotations with color", "Automatically
insert emoticon images" and "Check spelling while I type". Also remove
unneded properties from EWebView.
2014-07-29 14:03:22 +02: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
0e9bb570cb Check whether value really changed in callbacks of GSettings::changed signal
Just two more places, which are new after a merge of the webkit-composer
branch changes.
2014-06-11 18:47:46 +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
2e71c86143 Properly disconnect signal handlers added with e_signal_connect_notify*()
This is a follow-up for the previous commit, where e_signal_connect_notify*()
functions had been added. Due to a different callback and user data being
attached to the 'notify' signal, the g_signal_handlers_*() functions do not
work properly, thus these e_signal_connect_notify*() functions need
a different way for a signal handler disconnect.

A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real
key change from GSettings.
2014-06-05 11:47:13 +02:00
8692b1cb72 Add an --enable-code-coverage configure option to enable gcov support
When enabled, this will compile all libraries/binaries with the necessary
gcc and ld flags to enable code coverage support using gcov.
2014-03-25 12:04:58 +01:00
3048de0d91 Bug #711658 - Time zone for new events sometimes defaults to UTC 2014-03-06 15:30:55 +01:00
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
5a89422182 Prevent GSettings from freaking out over a missing junk filter.
Boy does GSettings like to abort applications!  The default value for
the 'junk-default-plugin' key is 'Bogofilter' but if the key's mapping
function cannot find Evolution's Bogofilter integration module (it is
optional after all, so may not be installed), then indicating failure
will make GSettings abort Evolution.  So always indicate success.
2014-01-16 21:19:20 -05:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
122a84d7f6 ESettingsMailSession: Bind to "junk-default-plugin".
Use mapping functions to convert between the filter name string and
the corresponding EMailJunkFilter extension.
2013-11-26 10:41:49 -05:00
21effa0d45 Add ESettingsMailSession.
Handles junk mail settings.
2013-11-24 18:43:54 -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
69de51a15a Convert ETreeModel to an interface.
This commit does a number of things which I could not subdivide into
smaller commits.

* Converts ETreeModel to an interface, implemented by MessageList.

* Drops ETreeMemory and ETreeMemoryCallbacks, which were ETreeModel
  subclasses.  Their functionality is subsumed by MessageList.

* MessageList drops its public ETreeModel pointer, since MessageList
  now implements ETreeModel as an interface.

* Adds message_list_set_expanded_default(), which takes over for
  e_tree_memory_set_expanded_default().
2013-06-15 20:10:06 -04:00
b688b36e2d MessageList: Add a "show-deleted" property.
Bind this to the "show-deleted" GSettings key.

New functions:

  message_list_get_show_deleted()
  message_list_set_show_deleted()
2013-06-14 23:21:40 -04:00
169c9aea03 MessageList: Add a "thread-latest" property.
Bind this to the "thread-latest" GSettings key.
2013-06-14 11:48:39 -04:00
b355b7c2ed ESettingsMessageList: Apply the "thread-expanded" setting. 2013-06-14 11:27:44 -04:00
0f8f88fe7e MessageList: Add a "thread-subject" property.
Bind this to the "thread-subject" GSettings key.
2013-06-14 11:27:40 -04:00
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
7b8a8a6a24 EMailFormatter: Remove the header API.
Use the EMailPartHeaders API instead.
2013-06-08 00:25:15 -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
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
04aa0fba1f Rename libemformat to libevolution-mail-formatter.
To make Evolution's shared libraries more consistent.

Also add an evolution-mail-formatter documentation module.
2013-05-28 09:56:30 -04:00
70a9fcdf9c Rename libeshell to libevolution-shell.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-shell.
2013-05-28 09:56:30 -04:00
6c9a3243c9 Rename libeutil to libevolution-util.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-util.
2013-05-28 09:56:30 -04:00
58ef547151 Coding style and whitespace cleanup. 2013-05-08 08:28:09 -04:00
b064d64be7 [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colors
It could happen that header text color had been picked white one time,
but the other time black as expected (for me usually when I started
Evolution in Calendar and moved to Mail view, the header text color
was white, while when starting in Mail view it was black). The change
to use GtkStyleContext is there only as a cleanup from deprecated
GtkStyle, and to make things easier too, because both GtkStyle
and the GtkStyleContext had set white color for some reason.
2013-04-23 14:59:09 +02: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
02996c182e ESettingsMailFormatter: Fix binding flag typo. 2013-03-26 20:05:39 -04:00