diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-21 02:38:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-21 02:38:10 +0800 |
commit | 3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8 (patch) | |
tree | 2d98889e5975b20c25dfd8e2984d0083774cdab9 /shell/e-folder.h | |
parent | 97d578613baab00205b157c2cd87baed41dbcf5f (diff) | |
download | gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.tar gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.tar.gz gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.tar.bz2 gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.tar.lz gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.tar.xz gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.tar.zst gsoc2013-evolution-3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8.zip |
Remove exception. (cancelSyncFolder): Remove exception.
* Evolution-Offline.idl (syncFolder): Remove exception.
(cancelSyncFolder): Remove exception.
* e-shell-config-offline.c (storage_set_view_has_checkbox_func):
New.
(e_shell_config_offline_create_control): Pass it as the
@has_checkbox_func.
* e-folder.c: New member can_sync_offline in EFolderPrivate.
(init): Init to FALSE.
(e_folder_get_can_sync_offline): New.
(e_folder_to_corba): Set canSyncOffline in the returned CORBA
folder.
(e_folder_set_physical_uri): Protect from when @physical_uri and
->physical_uri are the same thing.
(e_folder_set_description): Same here with description.
(e_folder_set_type_string): And type.
* Evolution-common.idl: New member canSyncOffline in struct
Folder.
svn path=/trunk/; revision=16946
Diffstat (limited to 'shell/e-folder.h')
-rw-r--r-- | shell/e-folder.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/shell/e-folder.h b/shell/e-folder.h index 48fa5b4789..4e7c9c1996 100644 --- a/shell/e-folder.h +++ b/shell/e-folder.h @@ -72,21 +72,23 @@ EFolder *e_folder_new (const char *name, const char *type, const char *description); -const char *e_folder_get_name (EFolder *folder); -const char *e_folder_get_type_string (EFolder *folder); -const char *e_folder_get_description (EFolder *folder); -const char *e_folder_get_physical_uri (EFolder *folder); -int e_folder_get_unread_count (EFolder *folder); -gboolean e_folder_get_highlighted (EFolder *folder); -gboolean e_folder_get_is_stock (EFolder *folder); - -void e_folder_set_name (EFolder *folder, const char *name); -void e_folder_set_type_string (EFolder *folder, const char *type); -void e_folder_set_description (EFolder *folder, const char *description); -void e_folder_set_physical_uri (EFolder *folder, const char *physical_uri); -void e_folder_set_unread_count (EFolder *folder, int unread_count); -void e_folder_set_child_highlight (EFolder *folder, gboolean highlighted); -void e_folder_set_is_stock (EFolder *folder, gboolean is_stock); +const char *e_folder_get_name (EFolder *folder); +const char *e_folder_get_type_string (EFolder *folder); +const char *e_folder_get_description (EFolder *folder); +const char *e_folder_get_physical_uri (EFolder *folder); +int e_folder_get_unread_count (EFolder *folder); +gboolean e_folder_get_highlighted (EFolder *folder); +gboolean e_folder_get_is_stock (EFolder *folder); +gboolean e_folder_get_can_sync_offline (EFolder *folder); + +void e_folder_set_name (EFolder *folder, const char *name); +void e_folder_set_type_string (EFolder *folder, const char *type); +void e_folder_set_description (EFolder *folder, const char *description); +void e_folder_set_physical_uri (EFolder *folder, const char *physical_uri); +void e_folder_set_unread_count (EFolder *folder, int unread_count); +void e_folder_set_child_highlight (EFolder *folder, gboolean highlighted); +void e_folder_set_is_stock (EFolder *folder, gboolean is_stock); +void e_folder_set_can_sync_offline (EFolder *folder, gboolean can_sync_offline); void e_folder_to_corba (EFolder *folder, const char *evolution_uri, |