[kupfer] data: Install searchplugins/google.xml as default search



commit e38f3f2b3e2dee8f3a30181678c613d2d41f80f7
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Aug 25 01:02:50 2009 +0200

    data: Install searchplugins/google.xml as default search
    
    1. So that we have anything to search, even if we don't find any other
    OpenSearch plugins.
    2. So that users see that they can customize kupfer directly without
    going through firefox

 data/searchplugins/google.xml |    8 ++++++++
 data/wscript_build            |    3 ++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/data/searchplugins/google.xml b/data/searchplugins/google.xml
new file mode 100644
index 0000000..f153da1
--- /dev/null
+++ b/data/searchplugins/google.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/";
+              xmlns:os="http://a9.com/-/spec/opensearch/1.1/";>
+<os:ShortName>Google</os:ShortName>
+<os:Description></os:Description>
+<os:InputEncoding>UTF-8</os:InputEncoding>
+<os:Url type="text/html" method="GET" template="http://www.google.com/search?q={searchTerms}";></os:Url>
+</SearchPlugin>
diff --git a/data/wscript_build b/data/wscript_build
index d8d15f4..3f0a832 100644
--- a/data/wscript_build
+++ b/data/wscript_build
@@ -2,8 +2,9 @@
 bld.install_files("${DATADIR}/kupfer", "defaults.cfg")
 bld.install_files("${DATADIR}/kupfer", "preferences.ui")
 
-# install all art files
+# install all pure data files
 bld.install_files("${DATADIR}/kupfer/art", "art/*")
+bld.install_files("${DATADIR}/kupfer/searchplugins", "searchplugins/*")
 
 # compress and install man page
 bld.new_task_gen(



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]