Commit Graph

24 Commits

Author SHA1 Message Date
Matthew Barnes 02996c182e ESettingsMailFormatter: Fix binding flag typo. 2013-03-26 20:05:39 -04: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 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 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 98f4b4a74b Add ESettingsSpellEntry.
Automatically configures the "checking-enabled" property on all
ESpellEntry instances.
2013-03-11 13:37:57 -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
Matthew Barnes 3e7451169b ESettingsDateEdit: Forgot to bind "use-24-hour-format" property. 2013-03-04 09:11:04 -05:00
Matthew Barnes 26e1f45bf3 EMailFormatter: Remove "only-local-photos" property.
EPhotoCache already handles this setting.
2013-02-27 10:59:54 -05:00
Matthew Barnes d2f53b4b8f Add ESettingsPhotoCache.
Configures an EPhotoCache with values from GSettings.
2013-02-27 10:59:54 -05:00
Matthew Barnes a26c98ad5a Add ESettingsClientCache.
Listens for "client-created" signals from its EClientCache.  If the
newly-created client is an ECalClient, automatically configure its
default timezone from EShellSettings.
2013-02-16 18:57:08 -05:00
Matthew Barnes 60d1c3054a G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.
GTK+ uses (G_PRIORITY_HIGH_IDLE + 20) for redrawing operations, which is
actually a slightly lower priority than G_PRIORITY_HIGH_IDLE.  Therefore
for our purpose, G_PRIORITY_HIGH_IDLE is sufficient.
2013-02-08 14:21:42 -05:00
Milan Crha 9c6a7673b8 Add comments around g_idle_add() changes 2013-02-08 18:26:49 +01:00
Michel Dänzer eb9e927926 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 18:26:48 +01:00
Matthew Barnes 6ba0a6a95b Revert "Bug #683867 - Schedule actions with higher idle priority"
This reverts commit 2b507716b2.

The commit contains not a single comment as to why these custom priority
values are being used.  The rationale needs to be documented in the code,
either at each call point or preferrably at a centralized priority value
definition.
2013-02-08 07:03:26 -05:00
Michel Dänzer 2b507716b2 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 12:37:30 +01:00
Matthew Barnes 8a71509ee4 Add a "settings" module.
Collect all the "config" extensions from the "addressbook", "calendar",
and "mail" modules into one place.  These extensions typically just bind
GObject properties of extensible classes to app-specific GSettings keys.
2013-01-20 20:56:16 -05:00