diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-14 23:17:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-14 23:27:44 +0800 |
commit | b355b7c2ed87e22b6f8a2471459277ab482c2d7a (patch) | |
tree | 682d7f91e4e8c67d3adaa070003903845bc16d4a /modules/settings | |
parent | 0f8f88fe7ec39e31770ea7aeda69932a62a8d3ef (diff) | |
download | gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.tar gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.tar.gz gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.tar.bz2 gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.tar.lz gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.tar.xz gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.tar.zst gsoc2013-evolution-b355b7c2ed87e22b6f8a2471459277ab482c2d7a.zip |
ESettingsMessageList: Apply the "thread-expanded" setting.
Diffstat (limited to 'modules/settings')
-rw-r--r-- | modules/settings/e-settings-message-list.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/settings/e-settings-message-list.c b/modules/settings/e-settings-message-list.c index 16de4262d3..123085c238 100644 --- a/modules/settings/e-settings-message-list.c +++ b/modules/settings/e-settings-message-list.c @@ -52,6 +52,12 @@ settings_message_list_constructed (GObject *object) message_list, "thread-subject", G_SETTINGS_BIND_GET); + /* 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), + g_settings_get_boolean (settings, "thread-expand")); + g_object_unref (settings); /* Chain up to parent's constructed() method. */ |