GNOME Bugzilla – Bug 310721
Don't create ~/.recently-used during first login
Last modified: 2005-07-20 07:32:30 UTC
If you start a prototype session using Sabayon (http://www.gnome.org/projects/sabayon) you see that an empty ~/.recently-used file is created as the session starts up. The reason for this is that EggRecentModel always creates an ~/.recently-used if it doesn't exist ... even when nothing is to be written to the file. Attaching patch which makes EggRecentModel only create the file when it is actually going to write to it.
Created attachment 49344 [details] [review] egg-recent-dont-create-file-at-first-login.patch
2005-07-20 Emmanuele Bassi <ebassi@cvs.gnome.org> * libegg/recent-files/egg-recent-model.c: (egg_recent_model_open_file), (egg_recent_model_add_full), (egg_recent_model_delete), (egg_recent_model_get_list), (egg_recent_model_clear), (egg_recent_model_remove_expired): If the .recently-used file is missing, create it only when accessing it for writing (Closes bug #310721).