Top | ![]() |
![]() |
![]() |
![]() |
GFile * | e_source_local_get_custom_file () |
GFile * | e_source_local_dup_custom_file () |
void | e_source_local_set_custom_file () |
gboolean | e_source_local_get_writable () |
void | e_source_local_set_writable () |
GFile *
e_source_local_get_custom_file (ESourceLocal *extension
);
Get the custom file being set on the extension
.
The returned GFile is owned by the extension
.
For thread safety use e_source_local_dup_custom_file()
.
GFile *
e_source_local_dup_custom_file (ESourceLocal *extension
);
A thread safe variant to get a custom file being set on the extension
.
Free the returned GFile, if not NULL
, with g_object_unref()
,
when no longer needed.
void e_source_local_set_custom_file (ESourceLocal *extension
,GFile *custom_file
);
Set, or unset, when using NULL
, the custom file for the extension
.
gboolean
e_source_local_get_writable (ESourceLocal *extension
);
Returns whether the backend should prefer to open the file
in writable mode. The default is TRUE
. The file can be still
opened for read-only, for example when the access to the file
is read-only.
Since: 3.34
void e_source_local_set_writable (ESourceLocal *extension
,gboolean writable
);
Set whether the custom file should be opened in writable mode.
The default is TRUE
. The file can be still opened for read-only,
for example when the access to the file is read-only.
Since: 3.34
#define E_SOURCE_EXTENSION_LOCAL_BACKEND "Local Backend"
Pass this extension name to e_source_get_extension()
to access
ESourceLocal. This is also used as a group name in key files.
Since: 3.18