]> git.pld-linux.org Git - packages/galeon.git/commitdiff
- add info about distribution to agent string
authorhawk <hawk@pld-linux.org>
Wed, 21 Mar 2007 21:53:14 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    galeon-agent.patch -> 1.1

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

diff --git a/galeon-agent.patch b/galeon-agent.patch
new file mode 100644 (file)
index 0000000..01014e4
--- /dev/null
@@ -0,0 +1,16 @@
+diff -ur galeon-2.0.2.orig/mozilla/mozilla-embed-shell.cpp galeon-2.0.2/mozilla/mozilla-embed-shell.cpp
+--- galeon-2.0.2.orig/mozilla/mozilla-embed-shell.cpp  2007-03-21 22:38:15.000000000 +0100
++++ galeon-2.0.2/mozilla/mozilla-embed-shell.cpp       2007-03-21 22:41:20.000000000 +0100
+@@ -158,8 +158,10 @@
+       // Also set vendor and vendorSub prefs so that mozilla can construct
+       // the user agent string for us.
+-      pref->SetCharPref ("general.useragent.vendor", "Galeon");
+-      pref->SetCharPref ("general.useragent.vendorSub", VERSION);
++      pref->SetCharPref ("general.useragent.vendor", "PLD");
++      pref->SetCharPref ("general.useragent.vendorSub", "2.0");
++      pref->SetCharPref ("general.useragent.vendorComment", "Ac");
++      pref->SetCharPref ("general.useragent.extra.galeon", "Galeon/" VERSION);
+       return TRUE;
+ }
This page took 0.04092 seconds and 4 git commands to generate.