Re: tear-off menu items in submenus of pop-up menus
- From: Darin Adler <darin eazel com>
- To: Michael Meeks <michael helixcode com>
- Cc: <gnome-components-list gnome org>
- Subject: Re: tear-off menu items in submenus of pop-up menus
- Date: Tue, 05 Dec 2000 08:58:19 -0800
on 12/5/00 4:15 AM, Michael Meeks at michael helixcode com wrote:
>> Bonobo is creating tear-off menu items for submenus of pop-ups. There
>> aren't any tear-offs at the top level of the pop-ups. Michael, do you
>> have any good ideas on a simple way to fix this? I'd be happy to work
>> on a patch, I just wanted to see if you had any direction you wanted
>> to give me before I start looking into it.
>
> Interesting one; in the menu shell case it's easy since we create
> the widget ourself to control it's lifecycle correctly. Anyway, what seems
> the most obvious place to me is in bonobo_window_add_popup we prepend the
> tearoff;
>
> That would seem to suggest that we need to add a guard against
> people adding the same popup twice as this will cause untold grief (
> although in fact this is already true ), so a brief pre-check on the popup
> list for the same widget would be most useful
>
> How does that sound ?
I think you interpreted my remarks as meaning the opposite of what I meant
to say. Sorry I wasn't more clear.
I meant that I do not want any tear-off menu items for pop-ups at all (the
main menu or the submenus). Currently, the torn off menus don't work. It's
not typical to have the tear-off for pop-up menus. So I was just trying to
get rid of the tear-off item.
I now realize that we could go the other way, and try to make pop-up menus
work when torn off and add the tear-off item to the top level as you
suggest. I'm not sure which way is better.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]