Re: [gnome-db] libgnome-db and libgda data sources not 'coordinated'
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Daniel Espinosa <esodan yahoo com mx>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] libgnome-db and libgda data sources not 'coordinated'
- Date: Mon, 19 Jul 2004 12:44:55 +0200
On Thu, 2004-06-24 at 13:17 -0500, Daniel Espinosa wrote:
> If you search for a Data Source in a GNOME
> application, the gnome-db search in it's gconf keys
> for it, but if for any reason any delete the .libgda
> configuration folder the function
> gnome_db_config_find_datasource find it, but you can't
> connect becouse the config for GDA don't exist.
>
hmm, AFAIR, libgnomedb should keep an up-to-date copy.
> I thing we need to add the next code at the
> gnome_db_config_find_data_source to "coordiate" the
> data sources in the libgda and the libgnomedb
> configuration files.
>
I am starting to think that maybe there is no need for duplicating the
configuration in .libgda/config and libgnomedb. Gonzalo, what do you
think?
> -------- BEGIN -------
> tmp_info_gda = gda_config_find_data_source (name);
> if(tmp_info_gda && info) {
> gda_config_free_data_source_info(tmp_info_gda);
> return info;
> }
> else {
> /*Data source not found in the libGDA config, then
> add it*/
> gda_config_save_data_source_info (tmp_info_gda);
> gda_config_free_data_source_info(tmp_info_gda);
> return info;
> }
>
> =====
Could you please provide a correct patch? For that, run, in your CVS
copy:
$ cvs -z3 diff -u > file.diff
and send us file.diff.
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]