SOURCES: epiphany-agent.patch (NEW) - add info about distribution ...
hawk
hawk at pld-linux.org
Wed Mar 21 23:30:27 CET 2007
Author: hawk Date: Wed Mar 21 22:30:27 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add info about distribution to agent string
---- Files affected:
SOURCES:
epiphany-agent.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/epiphany-agent.patch
diff -u /dev/null SOURCES/epiphany-agent.patch:1.1
--- /dev/null Wed Mar 21 23:30:27 2007
+++ SOURCES/epiphany-agent.patch Wed Mar 21 23:30:22 2007
@@ -0,0 +1,17 @@
+diff -ur epiphany-2.14.3.orig/embed/mozilla/mozilla-embed-single.cpp epiphany-2.14.3/embed/mozilla/mozilla-embed-single.cpp
+--- epiphany-2.14.3.orig/embed/mozilla/mozilla-embed-single.cpp 2007-03-21 22:57:11.000000000 +0100
++++ epiphany-2.14.3/embed/mozilla/mozilla-embed-single.cpp 2007-03-21 22:59:02.000000000 +0100
+@@ -297,10 +297,9 @@
+
+ #ifdef HAVE_GECKO_1_8
+ pref->SetCharPref ("general.useragent.extra.epiphany", "Epiphany/" EPIPHANY_MAJOR);
+-
+- /* Unset old prefs, otherwise they end up in the user agent string too */
+- pref->ClearUserPref ("general.useragent.vendor");
+- pref->ClearUserPref ("general.useragent.vendorSub");
++ pref->SetCharPref ("general.useragent.vendor", "PLD");
++ pref->SetCharPref ("general.useragent.vendorSub", "2.0");
++ pref->SetCharPref ("general.useragent.vendorComment", "Ac");
+ #else
+ pref->SetCharPref ("general.useragent.vendor", "Epiphany");
+ pref->SetCharPref ("general.useragent.vendorSub", EPIPHANY_MAJOR);
================================================================
More information about the pld-cvs-commit
mailing list