Re: BonoboControl without BonoboWindow in GNOME2 - any better than in GNOME1?
"Sergey V. Oudaltsov" <[email protected]>
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael > Hi Gustavo, Who is Gustavo?:) > Hmm; I see - so; that's harder to do - there is no way to do that with > the UI handler I'm afraid - currently; which sucks it's true - but the > UI handler is tied to the Dock / Toolbar for tool buttons currently. Well, is there any way I can add toolbar/dock to the dialog? Probably this would be the way? Is this difficult? Probably it will cost really nothing... > I think you'll have to consider another solution. IIWY since this is > such a specific case - you _could_ merge the verbs into the Control's > popup UIContainer [I assume you have the popup working fine], and then Well, ggv's popup is broken (already reported) - but this does not really matter:) > with some hard-coded action do: > Bonobo_UIContainer_execVerb (popup_container, "ZoomIn", &ev); Zoom actions probably should be in ggv popup anyway (once it is fixed). > etc. which may well help. Unfortunately, the last inch of this is > missing - which is the implementation of bonobo_ui_engine_exec_verb > which currently just emits a g_warning - but that should be trivial to > fix (ditto the ui_event), feel free to send/commit a patch to do that. :) Kidding, yeah? I am so far from you in overal Bonobo architecture understanding! Well, I'll have a look... > Hope that helps; of course - if you can think of some way whereby we > can expose _just a little_ more of BonoboUIEngine / BonoboUISync etc. > such that you can do what you want - even better :-) Well, I will have a look at the code - but again my understanding of the whole architecture is too weak. So don't blame me too much if ideas I'd produce are extremely lame:) BTW, hopefully we'll be able to discuss these things on GUADEC if you have time... Sergey