Re: [Nautilus-list] Thumbnail managing draft
- From: Ian McKellar <yakk-nautilus yakk net au>
- To: Ryan Muldoon <rpmuldoon students wisc edu>
- Cc: Darin Adler <darin bentspoon com>, Jens Finke <jens triq net>, nautilus-list lists eazel com, eog-list gnome org
- Subject: Re: [Nautilus-list] Thumbnail managing draft
- Date: Wed, 11 Jul 2001 09:22:58 +0800
On Tue, Jul 10, 2001 at 11:36:20AM -0500, Ryan Muldoon wrote:
> I like the idea of setting the mtime and file permissions to be the same as
> the original image. I would probably just have equality checking do
> if (thumb.mtime != orig.mtime)
> generate_thumbnail(orig);
> rather than
> if (thumb.mtime < orig.mtime)
> generate_thumbnail(orig);
> because all you really care about is that they are in sync with each other.
> So if they aren't, fix it.
There may be cases when its not possible to set the mtime of a file - HTTP
for example. I think the using < is better than using !=
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]