right, but static capabilities are just that - static.  They don't
change depending on the book.  In fact, they aren't properties on the
source, they're properties on the backend itself.

it's conceivable that someone could create an ebook representing a
source and call get_static_capabilities on that backend before ever
opening it.

Chris

On Sat, 2004-07-10 at 13:33 +0530, Sivaiah N wrote:
> Groupwise has one address book called "System Address Book" which has
> contacts of all groupwise users which will be huge generally. This is
> similar to GAL in exchange. We do not want to show these contacts by
> default when someone selects this book. In case of this we do not
> advertise the "do-initial-query" capability. 
> System address book is a read only book, so that property is used to
> differentiate it from other personal address books which are writable. 
> 
> is there any problem with that ?
> 
> Thanks,
> Siva
> 
> On Sat, 2004-07-10 at 06:20, Chris Toshok wrote:
> > why is the groupwise backend sometimes returning do-initial-query and
> > sometimes not?  (in _get_static_capabilities).
> > 
> >     if (ebgw->priv->is_writable)
> >             return g_strdup("net,bulk-removes,do-initial-query");
> >     else 
> >             return g_strdup("net,bulk-removes");
> > 
> > Chris
> > _______________________________________________
> > evolution-hackers maillist  -  [EMAIL PROTECTED]
> > http://lists.ximian.com/mailman/listinfo/evolution-hackers
> 
> 
> 
> !DSPAM:40efa405429781849397536!
> 
> 
_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to