From 5dc9f2eada2469ea4911a09cbb55857ea5cfff76 Mon Sep 17 00:00:00 2001 From: "mozilla%kewis.ch" Date: Tue, 11 Dec 2007 14:01:50 +0000 Subject: [PATCH] Fix bug 407745 - Add lightning version in user-agent string. r=dbo git-svn-id: svn://10.0.0.236/trunk@240834 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/calendar/lightning/content/lightning.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/calendar/lightning/content/lightning.js b/mozilla/calendar/lightning/content/lightning.js index ce740ea57c2..3ffa1325978 100644 --- a/mozilla/calendar/lightning/content/lightning.js +++ b/mozilla/calendar/lightning/content/lightning.js @@ -99,3 +99,6 @@ pref("calendar.categories.names", ""); // Make sure mouse wheel shift and no key actions to scroll lines. pref("mousewheel.withnokey.action", 0); pref("mousewheel.withshiftkey.action", 0); + +// Set up user agent +#expand pref("general.useragent.extra.lightning","Lightning/__LIGHTNING_VERSION__");