On 30 June 2014 09:56, Cyrille Berger <cber...@cberger.net> wrote: > Git commit cf804b42cb313d53729a4535622bda66951e6e42 by Cyrille Berger. > Committed on 30/06/2014 at 07:54. > Pushed by berger into branch 'calligra/2.8'. > > Fix: no file formats shown in save dialogs > > Backports KoFileDialog from master. > Tested on several applications, seem to work, but if someone else could test > and confirm ? > > CCMAIL: calligra-devel@kde.org > > M +261 -208 libs/widgets/KoFileDialog.cpp > M +62 -19 libs/widgets/KoFileDialog.h > > http://commits.kde.org/calligra/cf804b42cb313d53729a4535622bda66951e6e42 > > diff --git a/libs/widgets/KoFileDialog.cpp b/libs/widgets/KoFileDialog.cpp > index 534ab9e..eb02a00 100644 > --- a/libs/widgets/KoFileDialog.cpp > +++ b/libs/widgets/KoFileDialog.cpp > @@ -21,12 +21,12 @@
[...] > + // > + // Only show the GTK dialog in Gnome, where people deserve it > +#ifdef Q_WS_X11 > + if (qgetenv("KDE_FULL_SESSION").size() > 0) { > + useStaticForNative = true; > + } > + if (qgetenv("XDG_CURRENT_DESKTOP") == "GNOME") { > + useStaticForNative = true; > + } How about adding this very popular possibility too? if (qgetenv("XDG_CURRENT_DESKTOP").toLower() == "unity") J. -- regards / pozdrawiam, Jaroslaw Staniek Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org Qt for Tizen | http://qt-project.org/wiki/Tizen Qt Certified Specialist | http://www.linkedin.com/in/jstaniek _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel