Top | ![]() |
![]() |
![]() |
![]() |
gboolean | filter-all | Read / Write / Construct |
gboolean | filter-junk | Read / Write / Construct |
gboolean | maildir-alt-flag-sep | Read / Write / Construct |
char * | path | Read / Write / Construct |
GObject ╰── CamelSettings ╰── CamelStoreSettings ╰── CamelLocalSettings ├── CamelMhSettings ╰── CamelSpoolSettings
const gchar *
camel_local_settings_get_path (CamelLocalSettings *settings
);
Returns the file path to the root of the local mail store.
Since: 3.4
gchar *
camel_local_settings_dup_path (CamelLocalSettings *settings
);
Thread-safe variation of camel_local_settings_get_path()
.
Use this function when accessing settings
from multiple threads.
The returned string should be freed with g_free()
when no longer needed.
Since: 3.4
void camel_local_settings_set_path (CamelLocalSettings *settings
,const gchar *path
);
Sets the file path to the root of the local mail store. Any trailing directory separator characters will be stripped off of the “path” property.
Since: 3.4
gboolean
camel_local_settings_get_filter_all (CamelLocalSettings *settings
);
Returns whether apply filters in all folders.
Since: 3.24
void camel_local_settings_set_filter_all (CamelLocalSettings *settings
,gboolean filter_all
);
Sets whether to apply filters in all folders.
Since: 3.24
gboolean
camel_local_settings_get_filter_junk (CamelLocalSettings *settings
);
Returns whether to check new messages for junk.
Since: 3.24
void camel_local_settings_set_filter_junk (CamelLocalSettings *settings
,gboolean filter_junk
);
Sets whether to check new messages for junk.
Since: 3.24
gboolean
camel_local_settings_get_maildir_alt_flag_sep
(CamelLocalSettings *settings
);
Returns, whether the Maildir provider should use alternative
flag separator in the file name. When TRUE
, uses an exclamation
mark (!), when FALSE
, uses the colon (:). The default
is FALSE
, to be consistent with the Maildir specification.
The flag separator is flipped on the Windows build.
Since: 3.40
void camel_local_settings_set_maildir_alt_flag_sep (CamelLocalSettings *settings
,gboolean maildir_alt_flag_sep
);
Sets whether Maildir should use alternative flag separator.
See camel_local_settings_get_maildir_alt_flag_sep()
for more
information on what it means.
Note: Change to this setting takes effect only for newly created Maildir stores.
Since: 3.40
struct CamelLocalSettings;
Contains only private data that should be read and manipulated using the functions below.
Since: 3.4
“filter-all”
property“filter-all” gboolean
Whether to apply filters in all folders.
Owner: CamelLocalSettings
Flags: Read / Write / Construct
Default value: FALSE
“filter-junk”
property“filter-junk” gboolean
Whether to check new messages for junk.
Owner: CamelLocalSettings
Flags: Read / Write / Construct
Default value: TRUE
“maildir-alt-flag-sep”
property“maildir-alt-flag-sep” gboolean
Whether to use alternative flag separator in Maildir file name.
Owner: CamelLocalSettings
Flags: Read / Write / Construct
Default value: FALSE