Dear Folks,

On 18/10/09 11:45 +1100, Nick Urbanik wrote:
$ ls -l /home/nicku/.config/f-spot/photos.db

I left out the result:
-rw-r--r--. 1 nicku nicku 2999296 2009-10-17 19:15 
/home/nicku/.config/f-spot/photos.db

Actually, if I were writing code to find photos.db, I would:
* use $XDG_CONFIG_DIR if it has a value;
* check for the existence of ~/.config/f-spot/photos.db
* check for the existence of ~/.gnome2/f-spot/photos.db
* give up

rather than what your code does, which is:
* use $XDG_CONFIG_DIR if it has a value;
* check for the existence of ~/.gnome2/f-spot/photos.db
* give up
--
Nick Urbanik             http://nicku.org           [email protected]
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

Attachment: pgpknmlPGhZAD.pgp
Description: PGP signature

_______________________________________________
F-spot-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/f-spot-list

Reply via email to