Menu spec: implementation note for the inlining

Vincent Untz vuntz at gnome.org
Tue May 20 01:46:32 PDT 2008


Hey,

Here's another thing that I'd like to the spec.

Let's suppose we have <DefaultLayout inline="true" inline_limit="2"> and
that the structure before doing the inlining is the following:

Menu -> Submenu1 -> Item1
                    Item2
        Submenu2 -> Item3
                    Item4

There are two ways to do the inlining here:

Submenu1 -> Item1
            Item2
Submenu2 -> Item3
            Item4

and:

Menu -> Item1
        Item2
        Item3
        Item4

(basically breadth-first or depth-first)

My personal opinion is that the latter gives a "better" result.
Opinions?

Vincent

-- 
Les gens heureux ne sont pas pressés.


More information about the xdg mailing list