[gnome-db] libgnome-db and libgda data sources not 'coordinated'



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.

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.

-------- 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;
	}

=====
>>>>>>>>>>>>>>>
Trabajar es la mejor arma para tu superación.

_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]