Re: Hiding a placeholder's separator
- From: "John Sullivan" <sullivan eazel com>
- To: Michael Meeks <michael helixcode com>
- Cc: <gnome-components-list gnome org>
- Subject: Re: Hiding a placeholder's separator
- Date: Thu, 16 Nov 2000 09:47:07 -0800
on 11/16/00 2:42 AM, Michael Meeks at michael helixcode com wrote:
>
> Hi John,
>
> On Wed, 15 Nov 2000, John Sullivan wrote:
>> I just discovered that setting the state of all menu items in a
>> placeholder (well, their commands, technically) to "hidden" does not
>> hide the initial separator supplied by the placeholder.
>
> I've just committed a patch to add the hidden attribute on the
> placeholder itself.
>
>> If the placeholder contains no items, then the separator isn't drawn,
>> but if the placeholder contains only hidden items, then the separator
>> is drawn. Am I right in assuming this is a bug that should be fixed in
>> Bonobo?
>
> Well; the problem is that this gets rather expensive /
> complicated. Currently the placeholder has a rather dumb heuristic for
> determining whether to show its separator: whether there are any XML
> elements inside itself; this means that in some situations you will get a
> separator when you possibly don't want one. If you have an extremely
> complicated dynamic situation, I suggest that you use a non-delimted
> placeholder and insert any separators manualy.
OK, I would rather that Bonobo could be a little smarter about this to make
things just work right for applications, but I can use the workarounds you
suggest for now (using "hidden" on the placeholder itself will be handy).
Thanks,
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]