From 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Thu, 10 Nov 2011 18:04:39 -0500 Subject: initial commit to suse branch: eclipse integration --- opensuse/core/tdelibs/x-kde-InitialPreference.diff | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 opensuse/core/tdelibs/x-kde-InitialPreference.diff (limited to 'opensuse/core/tdelibs/x-kde-InitialPreference.diff') diff --git a/opensuse/core/tdelibs/x-kde-InitialPreference.diff b/opensuse/core/tdelibs/x-kde-InitialPreference.diff new file mode 100644 index 000000000..d95df7a2c --- /dev/null +++ b/opensuse/core/tdelibs/x-kde-InitialPreference.diff @@ -0,0 +1,16 @@ +Index: kio/kio/kservice.cpp +=================================================================== +--- kio/kio/kservice.cpp.orig ++++ kio/kio/kservice.cpp +@@ -249,7 +249,10 @@ KService::init( KDesktopFile *config ) + m_bAllowAsDefault = config->readBoolEntry( "AllowDefault", true ); + entryMap.remove("AllowDefault"); + +- m_initialPreference = config->readNumEntry( "InitialPreference", 1 ); ++ m_initialPreference = config->readNumEntry( "X-KDE-InitialPreference", 1 ); ++ entryMap.remove("X-KDE-InitialPreference"); ++ if ( m_initialPreference == 1 ) ++ m_initialPreference = config->readNumEntry( "InitialPreference", 1 ); + entryMap.remove("InitialPreference"); + + // Store all additional entries in the property map. -- cgit v1.2.1