Commit Graph

1383 Commits

Author SHA1 Message Date
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
58ef547151 Coding style and whitespace cleanup. 2013-05-08 08:28:09 -04:00
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
b254ea37ef Bug #301323 - "Edit as new message" doesn't strip signature properly 2013-05-06 23:54:37 +02:00
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
5dfeb54af9 Bug #699555 - prompt-on-mark-all-read doesn't work in context menu 2013-05-03 13:47:48 +02:00
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
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
91aee2a805 Add a gravatar module.
This is a new EPhotoSource that obtains images from gravatar.com.
2013-04-25 20:17:20 -04:00
80fb526936 ETaskShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
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
afe1d97399 EMemoShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
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
3a0b447047 ECalShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
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
3573cab310 ETaskShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:04 -04:00
c34ed9f365 EMemoShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:04 -04:00
a2ee4d2b50 ECalShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:03 -04:00
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
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
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
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
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
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
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
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
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
2dfd548d26 Bug #271262 - Allow Send/Receive of local stores in offline 2013-04-08 19:21:04 +02:00
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
85fac87782 Remove e_shell_hide_widgets_for_express_mode().
No longer needed.
2013-03-31 12:10:54 -04:00
0494d4c3c6 Remove EUIManager.
No longer needed.  Use GtkUIManager directly.
2013-03-31 12:10:54 -04:00
7c38b34f20 Remove e_shell_get_startup_view().
No longer needed.
2013-03-31 12:10:54 -04:00
8c2472645f Fix for typing in ITIP comments when some keys triggered actions. 2013-03-28 13:03:09 +01:00
02996c182e ESettingsMailFormatter: Fix binding flag typo. 2013-03-26 20:05:39 -04:00
78dfe47fdf Bug 696257 - Handle default values for "primary" selection settings
The default value for these GSettings keys is an empty string.  The
mapping function should handle empty strings by falling back to the
appropriate default ESource.
2013-03-24 13:37:16 -04:00
449889b31a Fix a typo which disabled "Always load images" option forever 2013-03-22 12:08:41 +01:00
2e87aa81fc Remove EMailShellSettings.
EShellSettings predates GSettings and is no longer necessary.

GSettings allows binding GObject properties to GSettings keys,
with optional mapping functions.  That fulfills the purpose of
EShellSettings.
2013-03-17 08:49:12 -04:00
95a0ae4afb Remove ECalShellSettings.
EShellSettings predates GSettings and is no longer necessary.

GSettings allows binding GObject properties to GSettings keys,
with optional mapping functions.  That fulfills the purpose of
EShellSettings.
2013-03-17 08:49:12 -04:00
23b8999765 Remove EBookShellSettings.
EShellSettings predates GSettings and is no longer necessary.

GSettings allows binding GObject properties to GSettings keys,
with optional mapping functions.  That fulfills the purpose of
EShellSettings.
2013-03-17 08:49:12 -04:00
09b7686c4a Add "headers-collapsed" setting.
Replaces "paned-view-headers-state", which was defined as an integer for
some stupid reason.  Not bothering to migrate the old setting since it's
one button click.
2013-03-17 08:49:12 -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
3b20569876 Convert all "week-start-day" properties to GDateWeekday. 2013-03-17 08:49:12 -04:00
9318c790b4 EDayView: Move "work-day-*" properties to ECalModel.
EWeekView would like to use them too, please.
2013-03-17 08:49:11 -04:00
8091b6ebab EDayView: Split working days into separate boolean properties.
Far easier to deal with than flags.
2013-03-17 08:49:11 -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
4d58a800fa Use e_source_registry_list_enabled() where appropriate. 2013-03-17 08:49:11 -04:00
43f9ea9657 e-mail-config-smtp-backend.c: Forgot a 'return' statement. 2013-03-12 10:13:55 -04:00