Re: GMenuModel has landed



On 2011-12-14, at 12:34 AM, Matthias Clasen <matthias clasen gmail com> wrote:

> On Tue, Dec 13, 2011 at 12:21 AM, Tristan Van Berkom <tvb gnome org> wrote:
> 
>> GMenuModel in itself is a little stuck, it depends on GActions which
>> are really tied into the whole DBus thing, so even though conceptually
>> it might not be IO, actually it is an IPC data model (I'm really starting
>> to think we should definitely remove the word "Menu" from that
>> data model, GActionModel or GModel even... and keep it low-level
>> generic, reusable and "sweet", not a specially targetted dinasaur just
>> for menus).
> 
> Not sure why you think so. While

Simply because I've only seen GAction
as a counterpart of GApplication apis.

I was not aware of their usefulness 
outside of the 'application' context

> GActions certainly have been designed
> with an eye towards easy exporting on the bus, they work perfectly
> fine in-process as well.

are you arguing that perhaps GAction
as well as the encapsulating GMenuModel abstract interfaces should find a living area below libgio ?
(or as I recall, "above" since your
stack was upside down ;))

Personally I think data models & abstract interfaces for working with GObject look better in libgobject than
in libgio, it's not worth arguing that to the death but obviously, avoiding another occurrence of libgnomeui is worth arguing for... 

Cheers,
  -Tristan


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