Class
CamelVeeFolder
Instance methods
camel_vee_folder_add_vuid
Adds the mi_data
to the vfolder
. The changes
can be
updated with the made change and later used to notify others
with camel_folder_changed()
on the vfolder
. This can be used
only for the Unmatched folder.
since: 3.6
camel_vee_folder_construct
Initializes internal structures of the vf
. This is meant to be
called by the descendants of CamelVeeFolder
.
camel_vee_folder_get_location
Find the real folder (and message info UID) for the given vinfo
.
When the realuid
is not NULL
and it’s set, then use g_free()
to
free it, when no longer needed.
camel_vee_folder_ignore_next_changed_event
The next subfolder
-‘s ‘changed’ event will be silently ignored. This
is usually used in virtual folders when the change was done in them,
but it is neither vTrash nor vJunk folder. Doing this avoids unnecessary
removals of messages which don’t satisfy search criteria anymore,
which could be done on asynchronous delivery of folder’s ‘changed’ signal.
These ignored changes are accumulated and used on folder refresh.
since: 3.2
camel_vee_folder_propagate_skipped_changes
Propagate any skipped changes into the vf
. The skipped changes are used to not
hide the messages from the search folder unexpectedly. The function does nothing
when there are no changes to be propagated.
since: 3.38
camel_vee_folder_ref_folders
Returns a GList
of all folders of this vfolder
, which
are used to populate it. These are in no particular order.
since: 3.28
camel_vee_folder_remove_folder
Removed the source folder, subfolder
, from the virtual folder, vfolder
.
camel_vee_folder_remove_from_ignore_changed_event
Make sure the next subfolder
-‘s ‘changed’ event will not be silently ignored.
This is a counter-part function of camel_vee_folder_ignore_next_changed_event(),
when there was expected a change, which did not happen, to take back the previous
ignore event request.
since: 3.12
camel_vee_folder_remove_vuid
Removes given mi_data
from the vfolder
. The changes
can be
updated with the made change and later used to notify others
with camel_folder_changed()
on the vfolder
. This can be used
only for the Unmatched folder.
since: 3.6
camel_vee_folder_set_auto_update
Sets whether the vfolder
can automatically update when of its
subfolders changes.
since: 3.6
Methods inherited from CamelFolder (84)
Please see CamelFolder for a full list of methods.
Methods inherited from CamelObject (4)
camel_object_get_state_filename
Returns the name of the file in which persistent property values for
object
are stored. The file is used by camel_object_state_write()
and camel_object_state_read()
to save and restore object state.
since: 2.32
camel_object_set_state_filename
Sets the name of the file in which persistent property values for
object
are stored. The file is used by camel_object_state_write()
and camel_object_state_read()
to save and restore object state.
since: 2.32
camel_object_state_read
Read persistent object state from CamelObject:state-filename
.
camel_object_state_write
Write persistent object state CamelObject:state-filename
.
Properties
Properties inherited from CamelFolder (6)
Camel.Folder:description
The folder’s description.
Camel.Folder:display-name
The folder’s display name.
Camel.Folder:full-name
The folder’s fully qualified name.
Camel.Folder:mark-seen
A CamelThreeState
persistent option of the folder,
which can override global option to mark messages
as seen after certain interval.
since: 3.32
Camel.Folder:mark-seen-timeout
Timeout in milliseconds for marking messages as seen.
since: 3.32
Camel.Folder:parent-store
The CamelStore
to which the folder belongs.
Properties inherited from CamelObject (1)
Camel.Object:state-filename
The file in which to store persistent property values for this instance.
Signals
Signals inherited from CamelFolder (3)
CamelFolder::changed
CamelFolder::deleted
CamelFolder::renamed
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct CamelVeeFolderClass {
CamelFolderClass parent_class;
void (* add_folder) (
CamelVeeFolder* vfolder,
CamelFolder* subfolder,
GCancellable* cancellable
);
void (* remove_folder) (
CamelVeeFolder* vfolder,
CamelFolder* subfolder,
GCancellable* cancellable
);
void (* rebuild_folder) (
CamelVeeFolder* vfolder,
CamelFolder* subfolder,
GCancellable* cancellable
);
void (* set_expression) (
CamelVeeFolder* vfolder,
const gchar* expression
);
void (* folder_changed) (
CamelVeeFolder* vfolder,
CamelFolder* subfolder,
CamelFolderChangeInfo* changes
);
None reserved;
}
Class members
parent_class: CamelFolderClass
- No description available.
add_folder: void (* add_folder) ( CamelVeeFolder* vfolder, CamelFolder* subfolder, GCancellable* cancellable )
- No description available.
remove_folder: void (* remove_folder) ( CamelVeeFolder* vfolder, CamelFolder* subfolder, GCancellable* cancellable )
- No description available.
rebuild_folder: void (* rebuild_folder) ( CamelVeeFolder* vfolder, CamelFolder* subfolder, GCancellable* cancellable )
- No description available.
set_expression: void (* set_expression) ( CamelVeeFolder* vfolder, const gchar* expression )
- No description available.
folder_changed: void (* folder_changed) ( CamelVeeFolder* vfolder, CamelFolder* subfolder, CamelFolderChangeInfo* changes )
- No description available.
reserved: None
- No description available.
Virtual methods
Camel.VeeFolderClass.remove_folder
Removed the source folder, subfolder
, from the virtual folder, vfolder
.