Re: GMenuModel has landed

On 12/12/2011 03:24 AM, Matthew Brush wrote:
On 12/11/2011 12:14 PM, Stefan Sauer wrote:
On 12/09/2011 01:00 AM, Ryan Lortie wrote:

Today I landed the GMenuModel work on glib master. A release will be
following shortly.

Just one quick question - why is this in GLib? Is that to allow
command-line apps to have a menu?

I tried to ask this here a day or two ago but had problems, so I asked
Ryan on IRC. The answer is that it's in GIO rather than GLib and there
is precedence; GIcon for example.

In Ubuntu, at least, we have quite a few daemons that export menu-like constructs which is then rendered in another process (the shell). Think distributed model-view-controller where the models are these daemons. These daemons have no reason to link to libgtk* (and does not need an X connection etc).

(and these daemons happen to use loads of GIcons as well - I love how glib/gio separates abstract entities from the actual toolkit)


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