diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-16 02:25:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-16 08:10:06 +0800 |
commit | 69de51a15ab85e4dca9fed93a1e03644b0e6a840 (patch) | |
tree | 6249ab1f556b98b79a5ea6f7679e703428107dc4 /modules/settings | |
parent | b58e9944529a890c5b9672cf6e5eb4f930112b63 (diff) | |
download | gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.tar gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.tar.gz gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.tar.bz2 gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.tar.lz gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.tar.xz gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.tar.zst gsoc2013-evolution-69de51a15ab85e4dca9fed93a1e03644b0e6a840.zip |
Convert ETreeModel to an interface.
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().
Diffstat (limited to 'modules/settings')
-rw-r--r-- | modules/settings/e-settings-message-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/settings/e-settings-message-list.c b/modules/settings/e-settings-message-list.c index 513069d1cb..5ac549d2eb 100644 --- a/modules/settings/e-settings-message-list.c +++ b/modules/settings/e-settings-message-list.c @@ -64,8 +64,8 @@ settings_message_list_constructed (GObject *object) /* This setting only controls the initial message list * state when in threaded mode, so just apply it here. */ - e_tree_memory_set_expanded_default ( - E_TREE_MEMORY (message_list->model), + message_list_set_expanded_default ( + message_list, g_settings_get_boolean (settings, "thread-expand")); g_object_unref (settings); |