diff -r 91b462c0fd72 -r 30a00f382aed mozilla-kde.patch --- a/mozilla-kde.patch Sat Nov 12 16:22:36 2011 +0100 +++ b/mozilla-kde.patch Fri Nov 18 07:36:46 2011 +0100 @@ -709,7 +709,7 @@ new file mode 100644 --- /dev/null +++ b/toolkit/content/widgets/preferences-kde.xml -@@ -0,0 +1,1371 @@ +@@ -0,0 +1,1373 @@ + + + + // This "command" event handler tracks changes made to preferences by + // the user in this window. ++ if (event.sourceEvent) ++ event = event.sourceEvent; + this.userChangedValue(event.target); + + @@ -2192,12 +2194,12 @@ +EXPORTS += nsKDEUtils.h else ifeq ($(MOZ_WIDGET_TOOLKIT),qt) + MOCSRCS += moc_nsNativeAppSupportQt.cpp + $(NULL) + CPPSRCS += $(MOCSRCS) CPPSRCS += nsNativeAppSupportQt.cpp CPPSRCS += nsQAppInstance.cpp EXPORTS += nsQAppInstance.h - else - CPPSRCS += nsNativeAppSupportDefault.cpp - endif diff --git a/toolkit/xre/nsKDEUtils.cpp b/toolkit/xre/nsKDEUtils.cpp new file mode 100644 --- /dev/null @@ -3615,7 +3617,7 @@ info.dwMinorVersion); } + desktop = NS_LITERAL_STRING("win"); - #elif defined(XP_MACOSX) + #elif defined(MOZ_WIDGET_COCOA) SInt32 majorVersion, minorVersion; if ((Gestalt(gestaltSystemVersionMajor, &majorVersion) == noErr) && (Gestalt(gestaltSystemVersionMinor, &minorVersion) == noErr)) {