Re: Pluggable widgets II

On Wed, 2006-12-20 at 15:04 +0100, Tim Janik wrote:
> On Wed, 20 Dec 2006, Mark McLoughlin wrote:

> > 	With this API the vendor would need to have a gtk module or library
> > especially for the gnome-panel in order to appoint a new implementation
> > of PanelMenu.
> if he *only* means to change the panel menu yes. if all menus should have
> the logo, all apps will need the module/library.

	PanelMenu is a GtkMenu sub-class used by stock gnome-panel.

	Platform vendor Foo implements FooGtkMenu and - via the "foogtk" gtk
module which is loaded by all applications - it appoints FooGtkMenu for

	Foo quickly notices that gnome-panel is not using the customised
GtkMenu implementation. Vendor Foo must then implement a "foopanel" gtk
module which appoints FooPanelMenu for PanelMenu and ensure that this
module is only loaded by gnome-panel.

	My point is that Foo would prefer if PanelMenu could automatically
sub-class FooGtkMenu rather than GtkMenu.


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