aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-09 23:44:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-09 23:44:03 +0800
commit8cdcac9e18a5c4ea17cacc997de85a90a111c01b (patch)
tree4e5f56528a93a1a9c9155b5a84818a30dd6a9db8 /shell
parent26e908d6d306e8217287a24c9749830b171466b8 (diff)
downloadgsoc2013-evolution-8cdcac9e18a5c4ea17cacc997de85a90a111c01b.tar.gz
gsoc2013-evolution-8cdcac9e18a5c4ea17cacc997de85a90a111c01b.tar.zst
gsoc2013-evolution-8cdcac9e18a5c4ea17cacc997de85a90a111c01b.zip
Rename NotPrepared to notPrepared and NotSyncing to notSyncing.
* Evolution-Offline.idl: Rename NotPrepared to notPrepared and NotSyncing to notSyncing. * evolution-storage.c (impl_Storage__get_folder_list): Renamed from impl_Storage_get_folder_list(). * Evolution-Storage.idl: Don't typedef FolderList here. Replace `getFolderList' method with a readonly attribute. * gui/e-itip-control.c (get_servers): use GNOME_Evolution_Storage__get_folderList instead of GNOME_Evolution_Storage_getFolderList since I have now changed that to be an attribute instead of a method. svn path=/trunk/; revision=16732
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog11
-rw-r--r--shell/Evolution-Offline.idl4
-rw-r--r--shell/Evolution-Storage.idl10
-rw-r--r--shell/evolution-storage.c6
4 files changed, 21 insertions, 10 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 9c440a689e..ef329f89f5 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,14 @@
+2002-05-09 Ettore Perazzoli <ettore@ximian.com>
+
+ * Evolution-Offline.idl: Rename NotPrepared to notPrepared and
+ NotSyncing to notSyncing.
+
+ * evolution-storage.c (impl_Storage__get_folder_list): Renamed
+ from impl_Storage_get_folder_list().
+
+ * Evolution-Storage.idl: Don't typedef FolderList here. Replace
+ `getFolderList' method with a readonly attribute.
+
2002-05-07 Ettore Perazzoli <ettore@ximian.com>
* Evolution-Offline.idl: New interface SyncFolderProgressListener.
diff --git a/shell/Evolution-Offline.idl b/shell/Evolution-Offline.idl
index 282b9fdf17..24973df174 100644
--- a/shell/Evolution-Offline.idl
+++ b/shell/Evolution-Offline.idl
@@ -34,8 +34,8 @@ interface SyncFolderProgressListener {
};
interface Offline : Bonobo::Unknown {
- exception NotPrepared {};
- exception NotSyncing {};
+ exception notPrepared {};
+ exception notSyncing {};
/* Whether the component is currently off-line. */
attribute boolean isOffline;
diff --git a/shell/Evolution-Storage.idl b/shell/Evolution-Storage.idl
index 824d6e32e3..84d323c3bd 100644
--- a/shell/Evolution-Storage.idl
+++ b/shell/Evolution-Storage.idl
@@ -19,10 +19,6 @@ module Evolution {
exception AlreadyListening {};
exception NotFound {};
- attribute string name;
-
- typedef sequence<Folder> FolderList;
-
enum Result {
OK,
UNSUPPORTED_OPERATION,
@@ -41,7 +37,11 @@ module Evolution {
string path;
};
- FolderList getFolderList ();
+ /* Flat list of the folders in the storage. */
+ readonly attribute FolderList folderList;
+
+ /* The name of the storage. */
+ attribute string name;
void asyncCreateFolder (in string path,
in string type,
diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c
index fa62c5244c..4223c83e48 100644
--- a/shell/evolution-storage.c
+++ b/shell/evolution-storage.c
@@ -279,8 +279,8 @@ get_folder_list_foreach (EFolderTree *tree,
}
static GNOME_Evolution_FolderList *
-impl_Storage_get_folder_list (PortableServer_Servant servant,
- CORBA_Environment *ev)
+impl_Storage__get_folder_list (PortableServer_Servant servant,
+ CORBA_Environment *ev)
{
BonoboObject *bonobo_object;
EvolutionStorage *storage;
@@ -655,7 +655,7 @@ evolution_storage_get_epv (void)
epv = g_new0 (POA_GNOME_Evolution_Storage__epv, 1);
epv->_get_name = impl_Storage__get_name;
- epv->getFolderList = impl_Storage_get_folder_list;
+ epv->_get_folderList = impl_Storage__get_folder_list;
epv->asyncCreateFolder = impl_Storage_async_create_folder;
epv->asyncRemoveFolder = impl_Storage_async_remove_folder;
epv->asyncXferFolder = impl_Storage_async_xfer_folder;