]> git.pld-linux.org Git - packages/epiphany.git/commitdiff
- add info about PLD Titanium to agent string
authorhawk <hawk@pld-linux.org>
Sat, 24 May 2008 18:51:18 +0000 (18:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    epiphany-ti-agent.patch -> 1.1

epiphany-ti-agent.patch [new file with mode: 0644]

diff --git a/epiphany-ti-agent.patch b/epiphany-ti-agent.patch
new file mode 100644 (file)
index 0000000..a2d1dc2
--- /dev/null
@@ -0,0 +1,15 @@
+diff -ur epiphany-2.18.2.orig/embed/mozilla/mozilla-embed-single.cpp epiphany-2.18.2/embed/mozilla/mozilla-embed-single.cpp
+--- epiphany-2.18.2.orig/embed/mozilla/mozilla-embed-single.cpp        2007-03-29 00:32:56.000000000 +0200
++++ epiphany-2.18.2/embed/mozilla/mozilla-embed-single.cpp     2007-06-12 09:15:23.000000000 +0200
+@@ -272,9 +272,8 @@
+       pref->SetCharPref ("general.useragent.extra.epiphany", "Epiphany/" UA_VERSION);
+-      /* 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", "Titanium");
+       /* Don't open ftp uris with an external handler if one is setup */
+       pref->SetBoolPref ("network.protocol-handler.external.ftp", PR_FALSE);  
This page took 0.202699 seconds and 4 git commands to generate.