[Libreoffice] [PATCH] Only accelerators in Edit popup on Windows and KDE

Jan Holesovsky kendy at suse.cz
Fri Apr 15 13:08:54 PDT 2011


Hi Christian,

On 2011-04-15 at 12:48 +0000, Christian Dywan wrote:

> I'm not sure if this is the best way to address this, I looked at the
> style settings, but this isn't a setting, and I saw
> get_desktop_session() but that isn't public API and I'm not sure how
> it's meant to be used. If there's a better approach, pointers welcome.

Nice, thank you very much for the patch! :-)  The best is to use
Application::GetDesktopEnvironment(), like eg. here:

http://opengrok.libreoffice.org/xref/components/cui/source/options/optgdlg.cxx#129

[without the #ifdefs etc. - here you don't care whether the plugin is
available, or not ;-)]  Can you please update it?

Thank you,
Kendy



More information about the LibreOffice mailing list