Re: nautilus-info-provider functions
- From: Alexander Larsson <alexl redhat com>
- To: Jason Heeris <jason heeris gmail com>
- Cc: nautilus-list gnome org
- Subject: Re: nautilus-info-provider functions
- Date: Thu, 18 Mar 2010 12:53:06 +0100
On Sun, 2010-03-14 at 11:47 +0800, Jason Heeris wrote:
> Hi,
>
> Can anyone tell me what the functions:
>
> nautilus_info_provider_cancel_update(...)
> nautilus_info_provider_update_complete_invoke(...)
>
> ...are for? They aren't documented anywhere, and I couldn't glean
> anything from the source.
When your info provider update_file_info gets called it has two options.
Either it can complete or fail immediately, returning
NAUTILUS_OPERATION_COMPLETE or NAUTILUS_OPERATION_FAILED.
Or, it can schedule some background stuff and return
NAUTILUS_OPERATION_IN_PROGRESS. Then it has to eventually call
nautilus_info_provider_update_complete_invoke() to give the results.
However, if nautilus is no longer interested in the result it will call
cancel_update() and you can then stop the background work.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]