Re: New gnome-db-control: suggestion



Vivien Malerba wrote:
> 
> I just wrote about the new gnome-db-control, about the new properties
> framework. The problem I have is that my controls need to be asked whenever a
> client is about to get a property (because it needs to compute it by acessing
> the Postgres DB, etc). The solution that I see is in the function
> get_control_prop() to emit a signal, say "get_property", BEFORE using the
> BONOBO_ARG_SET() macros. I'll make the modification soon if it is OK.
> 
I think it's not needed, that's why I didn't add it. Because the
GnomeDbControl widget already manages this. It's got a GList of all the
properties, and when you use gnome_db_control_set_property, it adds it
to both the GList and the BonoboPropertyBag. But anyway, as you've
already added it, let's keep it.

I was testing the gda-components-browser component (in gda-components)
with glade (the CVS version which contains support for BonoboControl),
and it worked great, although I'm not very sureif you're right with the
need or not of this property.

Cheers!




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