]> git.pld-linux.org Git - packages/galeon.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:
    galeon-ti-agent.patch -> 1.1

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

diff --git a/galeon-ti-agent.patch b/galeon-ti-agent.patch
new file mode 100644 (file)
index 0000000..431d4fb
--- /dev/null
@@ -0,0 +1,15 @@
+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,9 @@
+       // 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", "Titanium");
++      pref->SetCharPref ("general.useragent.extra.galeon", "Galeon/" VERSION);
+       return TRUE;
+ }
This page took 0.062824 seconds and 4 git commands to generate.