aboutsummaryrefslogtreecommitdiffstats
path: root/modules/settings
Commit message (Collapse)AuthorAgeFilesLines
* Bug 704259 - Fix "reply-style" key migration logicMatthew Barnes2013-07-181-49/+8
| | | | | | | | 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.
* Bug 702664 - Settings migration issue from "headers" to "show-headers"Matthew Barnes2013-07-101-0/+2
| | | | | | 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.
* Bug 702664 - Settings migration issue from "headers" to "show-headers"Matthew Barnes2013-06-211-1/+7
| | | | | 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.
* Convert ETreeModel to an interface.Matthew Barnes2013-06-161-2/+2
| | | | | | | | | | | | | | | | 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().
* MessageList: Add a "show-deleted" property.Matthew Barnes2013-06-151-0/+5
| | | | | | | | | Bind this to the "show-deleted" GSettings key. New functions: message_list_get_show_deleted() message_list_set_show_deleted()
* MessageList: Add a "thread-latest" property.Matthew Barnes2013-06-141-0/+5
| | | | Bind this to the "thread-latest" GSettings key.
* ESettingsMessageList: Apply the "thread-expanded" setting.Matthew Barnes2013-06-141-0/+6
|
* MessageList: Add a "thread-subject" property.Matthew Barnes2013-06-141-1/+4
| | | | Bind this to the "thread-subject" GSettings key.
* Make MessageList extensible.Matthew Barnes2013-06-144-0/+160
| | | | | | 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.
* EMailFormatter: Remove the header API.Matthew Barnes2013-06-081-81/+2
| | | | Use the EMailPartHeaders API instead.
* EMailPartHeaders: Add a "default-headers" property.Matthew Barnes2013-06-084-0/+196
| | | | | | | | | 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.
* Add "show-headers" settings key.Matthew Barnes2013-06-062-14/+131
| | | | | | | 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.
* ESettingsDeprecated: Fix missing handler ID assignment.Matthew Barnes2013-06-061-0/+1
|
* EMailBrowser: Add "close-on-reply-policy" property.Matthew Barnes2013-06-055-0/+219
| | | | | | | | | | | 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.
* Rename libemformat to libevolution-mail-formatter.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also add an evolution-mail-formatter documentation module.
* Rename libeshell to libevolution-shell.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-shell.
* Rename libeutil to libevolution-util.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-util.
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-2/+2
|
* [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colorsMilan Crha2013-04-231-7/+7
| | | | | | | | | | 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.
* Remove "Search for sender photograph only in local address books".Matthew Barnes2013-04-214-161/+0
| | | | | | | | | | | | | 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.
* ESettingsMailFormatter: Fix binding flag typo.Matthew Barnes2013-03-271-1/+1
|
* Remove EMailShellSettings.Matthew Barnes2013-03-174-129/+147
| | | | | | | | 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.
* Remove ECalShellSettings.Matthew Barnes2013-03-179-194/+314
| | | | | | | | 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.
* Add "image-loading-policy" setting.Matthew Barnes2013-03-171-0/+27
| | | | | | Replaces the "load-http-images" setting, which is now deprecated. The new setting uses an enum type compatible with EMailImageLoadingPolicy.
* Add "reply-style-name" setting.Matthew Barnes2013-03-171-0/+69
| | | | | | Replaces the "reply-style" setting, which is now deprecated. The new setting uses an enum type compatible with EMailReplyStyle.
* Add "forward-style-name" setting.Matthew Barnes2013-03-171-0/+35
| | | | | | Replaces the "forward-style" setting, which is now deprecated. The new setting uses an enum type compatible with EMailForwardStyle.
* EDayView: Move "work-day-*" properties to ECalModel.Matthew Barnes2013-03-172-35/+35
| | | | EWeekView would like to use them too, please.
* EDayView: Split working days into separate boolean properties.Matthew Barnes2013-03-171-2/+32
| | | | Far easier to deal with than flags.
* Add ESettingsDeprecated.Matthew Barnes2013-03-174-0/+436
| | | | | | | | | | | | 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)
* Add ESettingsSpellEntry.Matthew Barnes2013-03-124-0/+163
| | | | | Automatically configures the "checking-enabled" property on all ESpellEntry instances.
* EMeetingStore: Removed unused "week-start-day" property.Matthew Barnes2013-03-091-5/+0
|
* CompEditor: Add a "week-start-day" property.Matthew Barnes2013-03-091-0/+5
| | | | Automatically configured, of course, by ESettingsCompEditor.
* Add ESettingsWeekdayChooser.Matthew Barnes2013-03-094-0/+166
| | | | Configures the "week-start-day" property of EWeekdayChooser.
* EMeetingTimeSelector: Remove unused properties.Matthew Barnes2013-03-091-10/+0
| | | | The "show-week-numbers" and "week-start-day" properties are not used.
* ESettingsDateEdit: Forgot to bind "use-24-hour-format" property.Matthew Barnes2013-03-041-0/+5
|
* EMailFormatter: Remove "only-local-photos" property.Matthew Barnes2013-02-271-5/+0
| | | | EPhotoCache already handles this setting.
* Add ESettingsPhotoCache.Matthew Barnes2013-02-274-0/+161
| | | | Configures an EPhotoCache with values from GSettings.
* Add ESettingsClientCache.Matthew Barnes2013-02-174-0/+176
| | | | | | Listens for "client-created" signals from its EClientCache. If the newly-created client is an ECalClient, automatically configure its default timezone from EShellSettings.
* G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.Matthew Barnes2013-02-091-3/+3
| | | | | | 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.
* Add comments around g_idle_add() changesMilan Crha2013-02-091-0/+1
|
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-091-1/+1
|
* Revert "Bug #683867 - Schedule actions with higher idle priority"Matthew Barnes2013-02-081-1/+1
| | | | | | | | | This reverts commit 2b507716b257e6ef98dae8463180dbe718eb7b64. 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.
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-081-1/+1
|
* Add a "settings" module.Matthew Barnes2013-01-2126-0/+2668
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.