Add description for E_STORAGE_NOTONLINE.
* e-storage.c (e_storage_result_to_string): Add description for E_STORAGE_NOTONLINE. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): Support GNOME_Evolution_Storage_NOT_ONLINE (E_STORAGE_NOTONLINE). * Evolution-Storage.idl: Add NOT_ONLINE to enum Result. * e-storage.h: Add E_STORAGE_NOTONLINE to EStorageResult enum. svn path=/trunk/; revision=18097
This commit is contained in:
@ -1,3 +1,16 @@
|
||||
2002-09-17 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-storage.c (e_storage_result_to_string): Add description for
|
||||
E_STORAGE_NOTONLINE.
|
||||
|
||||
* e-corba-storage.c
|
||||
(e_corba_storage_corba_result_to_storage_result): Support
|
||||
GNOME_Evolution_Storage_NOT_ONLINE (E_STORAGE_NOTONLINE).
|
||||
|
||||
* Evolution-Storage.idl: Add NOT_ONLINE to enum Result.
|
||||
|
||||
* e-storage.h: Add E_STORAGE_NOTONLINE to EStorageResult enum.
|
||||
|
||||
2002-09-17 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-storage-set-view.c (sort_idle_callback): Remove unused
|
||||
|
||||
@ -29,6 +29,7 @@ module Evolution {
|
||||
PERMISSION_DENIED,
|
||||
NO_SPACE,
|
||||
NOT_EMPTY,
|
||||
NOT_ONLINE,
|
||||
GENERIC_ERROR
|
||||
};
|
||||
|
||||
|
||||
@ -704,6 +704,8 @@ e_corba_storage_corba_result_to_storage_result (GNOME_Evolution_Storage_Result c
|
||||
return E_STORAGE_NOSPACE;
|
||||
case GNOME_Evolution_Storage_NOT_EMPTY:
|
||||
return E_STORAGE_NOTEMPTY;
|
||||
case GNOME_Evolution_Storage_NOT_ONLINE:
|
||||
return E_STORAGE_NOTONLINE;
|
||||
case GNOME_Evolution_Storage_GENERIC_ERROR:
|
||||
default:
|
||||
return E_STORAGE_GENERICERROR;
|
||||
|
||||
@ -512,6 +512,8 @@ e_storage_result_to_string (EStorageResult result)
|
||||
return _("Cannot make a folder a child of one of its descendants");
|
||||
case E_STORAGE_INVALIDNAME:
|
||||
return _("Cannot create a folder with that name");
|
||||
case E_STORAGE_NOTONLINE:
|
||||
return _("This operation cannot be performed in off-line mode");
|
||||
default:
|
||||
return _("Unknown error");
|
||||
}
|
||||
|
||||
@ -58,6 +58,7 @@ enum _EStorageResult {
|
||||
E_STORAGE_UNSUPPORTEDTYPE,
|
||||
E_STORAGE_CANTCHANGESTOCKFOLDER,
|
||||
E_STORAGE_CANTMOVETODESCENDANT,
|
||||
E_STORAGE_NOTONLINE,
|
||||
E_STORAGE_INVALIDNAME
|
||||
};
|
||||
typedef enum _EStorageResult EStorageResult;
|
||||
|
||||
Reference in New Issue
Block a user