Jürgen Spitzmüller wrote:
Jürgen Spitzmüller wrote:
http://bugzilla.lyx.org/show_bug.cgi?id=5709
This long standing bug is now easy to fix by means of command-alternatives.
However, the toolbar is not yet prepared to command-alternatives. The
attached patch implements a simple solution: just use the icon for the
first of the alternative commands in the sequence. This works well for the
case in question (the icons just need to be renamed to their "m-*"
counterparts).
Objections?
So what shall we do with this? It's already in trunk (r28280).
I don't see any obvious problem with this. One could debate whether it's
the best solution. I guess there's a worry there might be a conflict
between names, and that something guaranteed to be unique would be
preferable. But in practice, that probably isn't an issue, so I don't
have a problem with this, for now, anyway.
rh