Re: Bonobo / Gtk Menu / Toolbars...



Michael Meeks <michael ximian com> writes:  
>         It is not at all suitable for wholesale use in Gtk+, but then the
> Gtk+ API is not perfect either. IMHO time could be spent more profitably
> fixing the things in Gtk+ that cripple the Bonobo UI code - such as
> keybindings, than re-writing working code.
> 

We do have fixing keybindings scheduled, as part of the menu API
rework. (Incidentally, this is a big reason to do GUI work in GTK -
because it frequently requires changes to or integration with the GTK
core. Another example is that stock icons couldn't be themed until we
put them in the core.)

The reason we have to rewrite working code is that having this code in
GTK itself is a significant feature, and you wrote it in such a way
(use of libxml and CORBA) that it can't be used as-is. I told you when
you started on bonobo-ui that we'd have to rewrite it and that we were
planning to write such an API, and that remains true.

Which isn't to say writing bonobo-ui was bad, we did need a solution
for Nautilus short-term. So the work is appreciated. But it doesn't
change the facts that inevitably putting something outside GTK that is
needed in GTK results in one extra API for that thing. Because GTK is
and will continue to be enhanced as a standalone complete GUI
solution.

So we should avoid that when possible. *shrug*

Havoc




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