[Glade-devel] Recent files
Tristan Van Berkom
tvb at gnome.org
Wed Jun 1 12:05:21 EDT 2005
Its a good/important habit to do this on the list :)
Juan Pablo Ugarte wrote:
> On Tue, 2005-05-31 at 16:55 -0400, Tristan Van Berkom wrote:
>
>>This should be an eazy one: bugzilla 149511
>> Recent files support in the load dialog, we need something
>> that is clean/portable on win32/doesn't drag in gnome dependancies.
>
>
> Ok, In a quick look I realize there is no configuration file support in
> glade-3. I think for this case an .ini like file (GKeyFile) would be
> enough but maybe you prefer a xml.
> There we could put something like this:
>
> [Common]
> Show Splash Screen=true
> Recent Projects Number=4
>
> [Recent Projects]
> 0=/home/xjuan/Untlited 1.glade
> 1=/home/xjuan/test.glade
>
> and save this file in g_get_user_config_dir() (ahh I love the glib :)
I seem to remember that we didn't want to use GKeyFile, was that
because its new in gtk+-2.6 ?
If thats the case I personally really dont mind using GKeyFile
at this point (I.e. I think its ok to just keep up with the times
and target the latest gtk+ release).
[...]
> About the config file, funtions for load and save could go in
> glade-utils.c but what about UI code for the eventual configuration
> window? Should we add another file? (glade-config.c/h)
What kind of configuration window did you have in mind ?
Cheers,
-Tristan
More information about the Glade-devel
mailing list