After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 216783 - storage interfaces for delayed folder-tree creation
storage interfaces for delayed folder-tree creation
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
unspecified
Other All
: Normal normal
: ---
Assigned To: Dan Winship
Evolution QA team
: 201157 (view as bug list)
Depends on:
Blocks: 202917
 
 
Reported: 2001-12-06 18:24 UTC by Dan Winship
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Winship 2001-12-06 18:24:15 UTC
We need to be able to create folder trees that aren't filled in
until the user opens them.
Comment 1 Dan Winship 2002-03-05 21:31:40 UTC
*** bug 201157 has been marked as a duplicate of this bug. ***
Comment 2 Ettore Perazzoli 2002-03-07 16:45:15 UTC
Do you have any proposals for the IDL?
Comment 3 Dan Winship 2002-03-07 17:02:16 UTC
yes, i'm working on this now.

in EvolutionStorageListener:
  void notifyHasSubfolders (in string path,
                            in string message)

in EvolutionStorage:
  void asyncOpenFolder (in string path,
                        in Bonobo::Listener listener)

The mailer would create the storage and then do
evolution_storage_has_subfolders (storage, "/", _("Connecting..."))

The shell would create the storage, closed, with a child whose
label was "Connecting...". When the user opens the storage, the
shell does an asyncOpenFolder, at which point the mailer tries to
connect and fill in the folder tree. (As soon as it adds a real
folder, the shell will remove the fake "Connecting..." node).
When the mailer is done, it sends back success/failure via the
listener. If it fails, the shell re-closes the storage.

The "has subfolders" call can also be made on a folder inside the
storage, so that evolution-exchange-storage can fill in each level
of the public folder hierarchy as the user opens it, just like
Outlook does.
Comment 4 Dan Winship 2002-03-14 22:24:03 UTC
Fixed in CVS.