Commit Graph

1398 Commits

Author SHA1 Message Date
Matthew Barnes 0b4e7ec091 Rename EMailFormatterVCardInline to EMailFormatterVCard. 2013-05-19 13:07:21 -04:00
Matthew Barnes e67ca727d4 Rename EMailParserVCardInline to EMailParserVCard. 2013-05-19 13:07:21 -04:00
Matthew Barnes 8858e3983c Rename EMailPartVCardInline to EMailPartVCard. 2013-05-19 13:07:21 -04:00
Matthew Barnes 4b80da91e8 Rename EMailFormatterAudioInline to EMailFormatterAudio. 2013-05-19 13:07:21 -04:00
Matthew Barnes 8f2969b5fd Rename EMailParserAudioInline to EMailParserAudio. 2013-05-19 13:07:21 -04:00
Matthew Barnes 179d763cf5 Rename EMailPartAudioInline to EMailPartAudio. 2013-05-19 13:07:21 -04:00
Matthew Barnes 42d1e89f02 Add e_mail_part_set_is_attachment(). 2013-05-19 13:07:21 -04:00
Matthew Barnes 875746e0ef Add e_mail_part_set_mime_type(). 2013-05-19 13:07:21 -04:00
Matthew Barnes 0ee556d346 Add e_mail_part_get_mime_type(). 2013-05-19 13:07:21 -04:00
Matthew Barnes f19058ea7a Add e_mail_part_ref_mime_part(). 2013-05-19 13:07:20 -04:00
Matthew Barnes 5ad0b6d8f7 Add e_mail_part_id_has_substr(). 2013-05-19 13:07:20 -04:00
Matthew Barnes 366b731a16 Add e_mail_part_id_has_prefix(). 2013-05-19 13:07:20 -04:00
Matthew Barnes c025ffbb29 Add e_mail_part_get_id(). 2013-05-19 13:07:20 -04:00
Matthew Barnes cd5a55f981 em-format cleanups. 2013-05-19 13:07:20 -04:00
Milan Crha 16bf152272 Bug #699980 - Calendar delete does not remove events from view 2013-05-14 12:00:17 +02:00
Matthew Barnes e403abb2e4 contact-photos: Obtain an EClient asynchronously.
Obtain an EClient for contact photo lookup asynchronously.  If an
instance needs to be created, it's more likely created in a thread
with a main loop so signal emissions can work.
2013-05-08 09:10:58 -04:00
Matthew Barnes 58ef547151 Coding style and whitespace cleanup. 2013-05-08 08:28:09 -04:00
Milan Crha 0ccccead12 Newly configured Google calendar cannot be opened
Unless the button to choose a calendar was clicked, because
the calendar path is not filled, thus the server claims
"HTTP 405 error", which means an OPTIONS request cannot be done
on the path, which was just root of www.google.com, instead
of a calendar path. (This was reported as part of bug #659522.)
2013-05-07 13:27:24 +02:00
Milan Crha b254ea37ef Bug #301323 - "Edit as new message" doesn't strip signature properly 2013-05-06 23:54:37 +02:00
Milan Crha 7770e7c365 Merge [mark-all-read] plugin into core code
During fixes on bug #602428, rather than do everything twice,
I merged the plugin into the core code, thus it should be easier
to maintain as well.
2013-05-03 18:11:37 +02:00
Milan Crha 5dfeb54af9 Bug #699555 - prompt-on-mark-all-read doesn't work in context menu 2013-05-03 13:47:48 +02:00
Matthew Barnes 6ec48e33ef Make sure EAddressbookModel has a fresh EBookClient.
In the event of an address book backend abort, EClientCache detects this
and invalidates its cached EClient (if it has one), so a new instance is
created on the next request.

EAddressbookModel is only handed an EClient once, which may become stale
if the backend aborts.  And even if the backend is restarted the address
book will remain unresponsive in Evolution.

This commit changes the behavior so that every time an address book is
selected in the side bar, a fresh EClient instance is obtained from the
EClientCache and handed to the EAddressbookModel.  If the model already
has that EClient instance, nothing happens.  Otherwise the model resets
itself and creates a new EBookClientView.
2013-04-30 10:11:31 -04:00
Matthew Barnes 1b2104e0b4 EGravatarPhotoSource: Work around libsoup deadlocks.
The SoupRequest API seems to have some concurrency issues to work out,
so for the time being create a unique SoupSession for each SoupRequest.
2013-04-26 17:26:34 -04:00
Matthew Barnes 91aee2a805 Add a gravatar module.
This is a new EPhotoSource that obtains images from gravatar.com.
2013-04-25 20:17:20 -04:00
Matthew Barnes 80fb526936 ETaskShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
Matthew Barnes 532e24fe11 ETaskShellSidebar: Submit an EActivity when obtaining an EClient.
Remove this status message nonsense that I came up with during the
kill-bonoto rewrite.  Instead submit a real EActivity to the shell
backend.  Mismanagement of the status message seems to be blocking
application shut down in some cases.
2013-04-25 11:42:04 -04:00
Matthew Barnes afe1d97399 EMemoShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
Matthew Barnes d4ae41915c EMemoShellSidebar: Submit an EActivity when obtaining an EClient.
Remove this status message nonsense that I came up with during the
kill-bonobo rewrite.  Instead submit a real EActivity to the shell
backend.  Mismanagement of the status message sesms to be blocking
application shut down in some cases.
2013-04-25 11:42:04 -04:00
Matthew Barnes 3a0b447047 ECalShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
Matthew Barnes d39a6e1402 ECalShellSidebar: Submit an EActivity when obtaining an EClient.
Remove this status message nonsense that I came up with during the
kill-bonobo rewrite.  Instead submit a real EActivity to the shell
backend.  Mismanagement of the status message seems to be blocking
application shut down in some cases.
2013-04-25 11:42:04 -04:00
Matthew Barnes 3573cab310 ETaskShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:04 -04:00
Matthew Barnes c34ed9f365 EMemoShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:04 -04:00
Matthew Barnes a2ee4d2b50 ECalShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:03 -04:00
Matthew Barnes 822fcbbd0f Add contact-photos module.
This encapsulates the EContactPhoto look up feature that was previously
built into EPhotoCache.  It's now implemented as an EPhotoSource -- one
per address book.  One advantage of this implementation is that address
books are now queried concurrently rather than serially.

EPhotoCacheContactLoader is an EPhotoCache extension that takes care of
adding and removing EPhotoSources for available address books.
2013-04-23 20:06:01 -04:00
Milan Crha 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
Matthew Barnes 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
Matthew Barnes d15dd3e89b [web-inspector] Yet more shortcut tweaking.
Be more forgiving of modifiers.  Check for GDK_CONTROL_MASK and
GDK_SHIFT_MASK, but not to the exclusion of all other modifiers.

There, that should make the shortcut work for everyone now.
2013-04-18 07:45:46 -04:00
Matthew Barnes d9fc5e4912 Remove backward-compatibility cruft for goa-1.0 < 3.8.
In particular, GOA's Google provider uses OAuth 2.0 now, so we can drop
the OAuth 1.0a support in CamelSaslXOAuth which was GMail-specific, and
with it the entire "online-accounts" module in Evolution.  Evolution no
longer links to libgoa-1.0 at all.
2013-04-16 19:00:26 -04:00
Matthew Barnes 2abf047ec8 Restore "Automatic Contacts" plugin preferences page.
This accidentally got dropped during the "account-mgmt" project.

As much as I loathe EConfig, the "Automatic Contacts" plugin is useless
without its Preferences page in the Contacts section.
2013-04-13 12:36:59 -04:00
Matthew Barnes 08d5bdcf8b Add e_cal_model_ref_default_client().
Replaces e_cal_model_get_default_client(), which was not thread-safe.
2013-04-12 18:35:12 -04:00
Matthew Barnes 1df4952769 Remove e_cal_model_get_client_for_source().
Was not thread-safe because it did not reference the return value.

The function was only used to implement the Refresh action on the
sidebar menu.  e_client_selector_ref_cached_client() works better
for this anyway.
2013-04-12 18:35:11 -04:00
Matthew Barnes 1141e23147 Add e_cal_model_list_clients().
Replaces e_cal_model_get_client_list().

Does the same thing, except the returned ECalClient instances are
referenced for thread-safety.
2013-04-12 18:35:11 -04:00
Matthew Barnes e68a333a4f web-inspector: Change the shortcut key to match Chrome.
GDK_MOD1_MASK is ill defined across various keyboards, apparently.

Use Ctrl + Shift + I instead, which happens to match what Chrome uses
to bring up its web inspector.
2013-04-12 10:54:32 -04:00
Milan Crha 2dfd548d26 Bug #271262 - Allow Send/Receive of local stores in offline 2013-04-08 19:21:04 +02:00
Matthew Barnes 018018fabe Remove more Express Mode hacks.
This removes all traces of Express Mode from all but the contact editor
and calendar appointment editor.  Need to evaluate the remaining cases
individually.
2013-03-31 12:10:54 -04:00
Matthew Barnes 85fac87782 Remove e_shell_hide_widgets_for_express_mode().
No longer needed.
2013-03-31 12:10:54 -04:00
Matthew Barnes 0494d4c3c6 Remove EUIManager.
No longer needed.  Use GtkUIManager directly.
2013-03-31 12:10:54 -04:00
Matthew Barnes 7c38b34f20 Remove e_shell_get_startup_view().
No longer needed.
2013-03-31 12:10:54 -04:00
Tomas Popela 8c2472645f Fix for typing in ITIP comments when some keys triggered actions. 2013-03-28 13:03:09 +01:00
Matthew Barnes 02996c182e ESettingsMailFormatter: Fix binding flag typo. 2013-03-26 20:05:39 -04:00