Re: Stock Items Deprecation



hi;

On 18 July 2013 03:55, Krzysztof Kosiński <tweenk pl gmail com> wrote:
2013/7/17 Emmanuele Bassi <ebassi gmail com>:
GAction replaces GtkAction; images on menus have been discouraged for
years, and the whole menu system has been replaced by GMenu XML
descriptions that can be exported on the session bus.

GAction has no functionality for accelerators, icons, or automatically
creating widgets. These are very useful in applications which reuse
the same action in more than one place (e.g. in a menu and on a
toolbar). How are we supposed to replace it in new code?

support for those features has already been developed and it is going
to be added to GAction before we release GLib 2.38 and GTK 3.10, and
improved in the future so that it matches with the overall spirit and
design of the API. if you want to influence where the API is going,
you can start looking at how to port your code, what you think it's
missing, and file bugs. dropping on irc.gnome.org, in the #gtk+
channel, is also a good idea.

Removing icons from menus seems like a pointless attempt to emulate OS
X. There are places where menu icons do make sense.

you should *really* read the document linked in Jon's email; it
answers the questions about when and where icons should be used inside
menus. it's not a blanket removal (and it's not something done to
"emulate OSX"; please, refrain from making snap judgements in the
future).

ciao,
 Emmanuele.

--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/


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