Re: BonoboControl without BonoboWindow in GNOME2 - any better than in GNOME1?



> 
> 	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.
Wait, wait. BonoboUIEngine can handle some set (GSList) of components. So either
the whole semantics of the bonobo_ui_engine_exec_verb does not make sense - or
the verb should be issued to ALL components known to the engine. If latter, it
will be just copying of real_exec_verb - but instead of one Bonobo_UIComponent,
where will be cycle on BonoboUIEnginePrivate->components (do I get it right that
each of them is Bonobo_UIComponent?). Probably there should be some static function:

static void exec_verb_on_component (BonoboUIEngine *engine,
  Bonobo_UIComponent component,
  const char     *verb)

used by both real_exec_verb and bonobo_ui_engine_exec_verb. Do I get the whole
idea right? If yes, the same applies to ui_event functions.

Cheers,

Sergey



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