gEDA-dev: [PATCH] gschem: recent files support

Ivan Stankovic ivan.stankovic at fer.hr
Tue Apr 24 11:23:45 EDT 2007


On Tue, Apr 24, 2007 at 08:18:19AM -0400, Ales Hvezda wrote:
> I have two more comments:
> 
> 1) Where is the RECENT_FILES_STORE going to be stored?  
> 
>   gchar *file = g_build_filename(g_get_home_dir(), RECENT_FILES_STORE, NULL);
> 
> I would really prefer it was in ~/.gEDA/gschem-recent-files  (and not a
> hidden file).  That way all the user files for gEDA are in one place.

That makes sense, I've updated the patch on SF.

> 2) Ivan, are you planning/wanting to look at the "storing window position
> and sizes" task next?  If so, I take it you were going to put that 
> information in a different file?  I am okay with that only because it keeps
> the various files nice and simple.  Or is there some advantage to putting
> the info into the above file?

I do plan to work on "Remember dialog size and positions" task next, but
I've not decided yet where to put the information. The only advantage
to putting this into the same file as recent files info is the fact that
there'd be one file less to care about. I think I'll go with separate
files just because that makes code somewhat simpler and keeps features
clearly independent.

> This patch looks pretty darn good.

Thanks.

-- 
Ivan Stankovic, ivan.stankovic at fer.hr

"Protect your digital freedom and privacy, eliminate DRM, 
learn more at http://www.defectivebydesign.org/what_is_drm"


More information about the geda-dev mailing list