diff -r b2202fea7983 -r f118b88b7d7f mozilla-kde.patch --- a/mozilla-kde.patch Sat May 03 10:14:44 2014 +0200 +++ b/mozilla-kde.patch Wed May 28 22:17:03 2014 +0200 @@ -44,7 +44,7 @@ #include "prefread.h" #include "prefapi_private_data.h" -@@ -1119,16 +1120,34 @@ pref_LoadPrefsInDir(nsIFile* aDir, char +@@ -1134,16 +1135,34 @@ pref_LoadPrefsInDir(nsIFile* aDir, char static nsresult pref_LoadPrefsInDirList(const char *listId) { @@ -79,7 +79,7 @@ return NS_OK; bool hasMore; -@@ -1144,17 +1163,17 @@ static nsresult pref_LoadPrefsInDirList( +@@ -1159,17 +1178,17 @@ static nsresult pref_LoadPrefsInDirList( nsAutoCString leaf; path->GetNativeLeafName(leaf); @@ -98,7 +98,7 @@ { nsZipItemPtr manifest(jarReader, name, true); NS_ENSURE_TRUE(manifest.Buffer(), NS_ERROR_NOT_AVAILABLE); -@@ -1248,26 +1267,38 @@ static nsresult pref_InitInitialObjects( +@@ -1263,26 +1282,38 @@ static nsresult pref_InitInitialObjects( /* these pref file names should not be used: we process them after all other application pref files for backwards compatibility */ static const char* specialFiles[] = { #if defined(XP_MACOSX) @@ -196,7 +196,7 @@ diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/components/downloads/nsDownloadManager.cpp --- a/toolkit/components/downloads/nsDownloadManager.cpp +++ b/toolkit/components/downloads/nsDownloadManager.cpp -@@ -42,16 +42,20 @@ +@@ -43,16 +43,20 @@ #ifdef XP_WIN #include #include "nsWindowsHelpers.h" @@ -217,7 +217,7 @@ #include "AndroidBridge.h" using namespace mozilla::widget::android; #endif -@@ -2695,16 +2699,25 @@ nsDownload::SetState(DownloadState aStat +@@ -2722,16 +2726,25 @@ nsDownload::SetState(DownloadState aStat nsCOMPtr pref(do_GetService(NS_PREFSERVICE_CONTRACTID)); // Master pref to control this function. @@ -243,7 +243,7 @@ int64_t goat = PR_Now() - mStartTime; showTaskbarAlert = goat > alertIntervalUSec; -@@ -2732,19 +2745,20 @@ nsDownload::SetState(DownloadState aStat +@@ -2759,19 +2772,20 @@ nsDownload::SetState(DownloadState aStat // because if it is, they'll click open the download manager and // the items they downloaded will have been removed. alerts->ShowAlertNotification( @@ -268,7 +268,7 @@ diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn --- a/toolkit/content/jar.mn +++ b/toolkit/content/jar.mn -@@ -56,29 +56,33 @@ toolkit.jar: +@@ -58,29 +58,33 @@ toolkit.jar: content/global/viewZoomOverlay.js (viewZoomOverlay.js) *+ content/global/bindings/autocomplete.xml (widgets/autocomplete.xml) content/global/bindings/browser.xml (widgets/browser.xml) @@ -290,7 +290,7 @@ content/global/bindings/menulist.xml (widgets/menulist.xml) content/global/bindings/notification.xml (widgets/notification.xml) content/global/bindings/numberbox.xml (widgets/numberbox.xml) - content/global/bindings/popup.xml (widgets/popup.xml) + * content/global/bindings/popup.xml (widgets/popup.xml) *+ content/global/bindings/preferences.xml (widgets/preferences.xml) +*+ content/global/bindings/preferences-kde.xml (widgets/preferences-kde.xml) +% override chrome://global/content/bindings/preferences.xml chrome://global/content/bindings/preferences-kde.xml desktop=kde @@ -760,7 +760,7 @@ new file mode 100644 --- /dev/null +++ b/toolkit/content/widgets/preferences-kde.xml -@@ -0,0 +1,1334 @@ +@@ -0,0 +1,1333 @@ + + + + + -+ +#ifdef XP_UNIX_GNOME -+ > +