Commit Graph

1365 Commits

Author SHA1 Message Date
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
Matthew Barnes 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
Milan Crha 449889b31a Fix a typo which disabled "Always load images" option forever 2013-03-22 12:08:41 +01:00
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 3b20569876 Convert all "week-start-day" properties to GDateWeekday. 2013-03-17 08:49:12 -04:00
Matthew Barnes 9318c790b4 EDayView: Move "work-day-*" properties to ECalModel.
EWeekView would like to use them too, please.
2013-03-17 08:49:11 -04:00
Matthew Barnes 8091b6ebab EDayView: Split working days into separate boolean properties.
Far easier to deal with than flags.
2013-03-17 08:49:11 -04:00
Matthew Barnes 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
Matthew Barnes 4d58a800fa Use e_source_registry_list_enabled() where appropriate. 2013-03-17 08:49:11 -04:00
Matthew Barnes 43f9ea9657 e-mail-config-smtp-backend.c: Forgot a 'return' statement. 2013-03-12 10:13:55 -04:00
Matthew Barnes b1b884763e Bug 695693 - Handle <authentication> tags during auto-configuration 2013-03-12 10:10:09 -04:00
Milan Crha 3e8e8cb946 Bug #690930 - Launching calendar from clock-applet applies timezone twice 2013-03-12 12:33:46 +01:00
Matthew Barnes 98f4b4a74b Add ESettingsSpellEntry.
Automatically configures the "checking-enabled" property on all
ESpellEntry instances.
2013-03-11 13:37:57 -04:00
Matthew Barnes 1b19a1a35b mailto-handler cleanups. 2013-03-11 07:54:14 -04:00
Matthew Barnes 5c13485203 EMeetingStore: Removed unused "week-start-day" property. 2013-03-09 07:18:07 -05:00
Matthew Barnes cb63647c88 CompEditor: Add a "week-start-day" property.
Automatically configured, of course, by ESettingsCompEditor.
2013-03-09 07:05:17 -05:00
Matthew Barnes 529c50f134 Add ESettingsWeekdayChooser.
Configures the "week-start-day" property of EWeekdayChooser.
2013-03-08 15:27:01 -05:00
Matthew Barnes 379f60bc79 EMeetingTimeSelector: Remove unused properties.
The "show-week-numbers" and "week-start-day" properties are not used.
2013-03-08 11:40:41 -05:00
Milan Crha 77f3f2b068 [backup-restore] Dir separator removal breaks DConf settings restore
DConf load command requires a slash at the end of the path to load,
but the replace_variables() code always removed the trailing slash,
which made the configuration load nonfunctional.
2013-03-07 13:25:41 +01:00
Matthew Barnes 1419bbb302 cal_comp_event_new_with_current_time: Remove 'zone' parameter.
Get the icaltimezone from the passed in ECalClient.
2013-03-06 08:47:03 -05:00
Tomas Popela 4fd92fa8b0 [itip-formatter] Reference a view when searching for a calendar
There were printed warnings on console, which may cause crashes, when
the meeting invitation was inside an attached message. By adding
a reference to the view it'll not disappear before the search is
done with it.
2013-03-05 15:18:29 +01:00
Matthew Barnes 3e7451169b ESettingsDateEdit: Forgot to bind "use-24-hour-format" property. 2013-03-04 09:11:04 -05:00
Matthew Barnes 4ff90f2bfd Use EClientComboBox where appropriate.
Basically any place where we use both EClient and ESourceComboBox.
2013-03-01 18:16:07 -05:00
Matthew Barnes 142f09f477 EMailPartItip: Remove redundant client cache.
EClientCache already serves this purpose.
2013-02-27 14:06:45 -05:00
Matthew Barnes d0d713e846 ItipView: Use EClientCache to obtain calendar clients. 2013-02-27 13:56:53 -05:00
Matthew Barnes 927fd2f6f6 ItipView: Replace "registry" property with "client-cache".
Obtain the ESourceRegistry with e_client_cache_ref_registry().
2013-02-27 13:40:59 -05:00
Matthew Barnes 1df5d3c3f9 itip-view.h cleanups. 2013-02-27 12:26:27 -05:00
Matthew Barnes 26e1f45bf3 EMailFormatter: Remove "only-local-photos" property.
EPhotoCache already handles this setting.
2013-02-27 10:59:54 -05:00