Re: updated_deep_count_in_progress can not get file size
- From: Gaolong <imgaolong yahoo cn>
- To: 新闻组 Nautilus <nautilus-list gnome org>
- Subject: Re: updated_deep_count_in_progress can not get file size
- Date: Wed, 7 May 2008 13:16:23 +0800 (CST)
I am designing a tooltip for nautilus, and I noticed that there is a Bug 147642 about tooltips. I take windows explorer as example. In windows when mouse move over a big directory, it would show "More than ... ", no matter how many big direcotries you pointed your mouse over. But in nautilus, if a directory begins deep_count, any other big directories can only show "Please wait ...", because deep_count return NAUTILUS_REQUEST_NOT_STARTED, and file size zero.
But afterall, I think show users "Please wait..." is ok. Perhaps I should not throw myself too deep into nautilus. Best Regards!
Christian Neumair <cneumair gnome org> 写道:
Dear Gaolong,
El lun, 05-05-2008 a las 11:36 +0800, Gaolong escribió:
> Hi,all. I was trying to use updated_deep_count_in_progress signal to
>
asynchronously get disk space used by a directory. I refered to
> fm-properties-window.c. But there seems a bug in it. I found that if a
> big directory is being updated by updated_deep_count_in_progress
> signal, any other request to nautilus_file_get_deep_counts function
> will return file size with 0. (...)
This was a design decision.
Deep counting directories is a disk intensive operation. We just allow
one at a time, and process multiple deep count operations subsequently.
Maybe you could elaborate a bit in what context you want to use this
function?
best regards,
Christian Neumair
--
Christian Neumair
雅虎邮箱,您的终生邮箱!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]