Revision 671483
Go back to digest for 10th June 2007Features in KDE Base
When application A handles postscript and application B handles text/plain, prefer (by default) A over B, no matter what the InitialPreference is. The initial preference is now understood as "for a given level of mimetype inheritance", so that real handlers are preferred over more generic handlers, by default (user configuration can override this, of course).
With unit test (which creates a fake .desktop file).
This includes a ksycoca format change, so KSYCOCA_VERSION was updated; make sure to install the updated kbuildsycoca as well if you update & install kdecore.
Made weightedOffers() private (moved to .cpp file in KServiceTypeTrader, made private + friend in KMimeTypeTrader). And export one less symbol, KServiceTypeProfile::sortMimeTypeOffers().
File Changes
- /trunk/KDE/kdelibs
- /kded/CMakeLists.txt
- /kded/kbuildservicefactory.cpp
- /kdecore/services/kmimetypetrader.cpp
- /kdecore/services/kmimetypetrader.h
- /kdecore/services/kservicefactory.cpp
- /kdecore/services/kserviceoffer.cpp
- /kdecore/services/kserviceoffer.h
- /kdecore/services/kservicetypeprofile.cpp
- /kdecore/services/kservicetypetrader.cpp
- /kdecore/services/kservicetypetrader.h
- /kdecore/sycoca/ksycoca.h
- /kdecore/tests/kmimetypetest.cpp