Re: [gnome-db] Bug in gnomedb 1.0.4 - data source selector widget



On Thu, 2004-06-24 at 16:59 -0500, Daniel Espinosa wrote:
> There are a bug in libgnomedb 1.0.4, the
> gnome_db_datasorce_selector, don't load all the
> avairable data sources, like in 1.0.3 dose.
> 
> The missing code is (taked from 1.0.3):
> 
> /* load data sources */
> 	dsn_list = gnome_db_config_get_data_source_list ();
> 	for (l = dsn_list; l != NULL; l = l->next) {
> 		GdaDataSourceInfo *dsn_info = (GdaDataSourceInfo *)
> l->data;
> 
> 		if (!dsn_info)
> 			continue;
> 
> 		if (name != NULL && strcmp (name, dsn_info->name) !=
> 0)
> 			continue;
> 
> 		/* add the data source to the option menu */
> 		gnome_db_option_menu_add_item (GTK_OPTION_MENU
> (selector), dsn_info->name);
> 	}
> 
> 
again, could you please provide a patch as explained in my previous
mail?

thanks




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