[Libreoffice] [PATCH] Introduce HideDisabledMenuItems style setting
Christoph Noack
christoph at dogmatux.com
Thu Apr 21 15:45:41 PDT 2011
Hi Christian, all!
Just a small question ... do I get it right that the disabled menu items
get hidden instead of being "grayed out"? Real interest: could you
please explain what the rationale for the change is? As far as I know,
there is currently no platform guideline that requires that (or even
allows that) - but I might be wrong.
Cheers,
Christoph
Am Donnerstag, den 21.04.2011, 13:44 +0000 schrieb Christian Dywan:
> I'm introducing a setting that decides if disabled menu items should
> be hidden. Currently the code is broken in the sense that items are
> hidden if disabled on all platforms and UpdateApplicationSettings
> which theortically does that is a) counter-intuitive and b) not set by
> platforms.
> The patch sets the setting for KDE, KDE4 and OSX and uses it for the
> edit menu.
>
> Future steps are to use the setting for other menus and I think
> UpdateApplicationSettings should eventually be removed because it's
> completely mis-designed and confusing.
>
> ciao,
> Christian
More information about the LibreOffice
mailing list