summaryrefslogtreecommitdiff
path: root/libre/epiphany/libre.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/epiphany/libre.patch')
-rw-r--r--libre/epiphany/libre.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/epiphany/libre.patch b/libre/epiphany/libre.patch
new file mode 100644
index 000000000..90769b489
--- /dev/null
+++ b/libre/epiphany/libre.patch
@@ -0,0 +1,37 @@
+diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
+index 6540572..e60a082 100644
+--- a/data/org.gnome.epiphany.gschema.xml
++++ b/data/org.gnome.epiphany.gschema.xml
+@@ -16,7 +16,7 @@
+ <description>Address of the user’s home page.</description>
+ </key>
+ <key type="s" name="keyword-search-url">
+- <default>'https://duckduckgo.com/?q=%s&amp;t=epiphany'</default>
++ <default>'https://duckduckgo.com/html/?q=%s&amp;t=epiphany'</default>
+ <summary>URL Search</summary>
+ <description>DEPRECATED: This key is deprecated and ignored. Use /org/gnome/epiphany/search-engines instead.</description>
+ </key>
+@@ -29,9 +29,7 @@
+ <default l10n="messages">
+ <!-- TRANSLATORS: These are the prepopulated search engines. You should
+ add country-specific URL query parameters if appropriate. -->
+- [('DuckDuckGo', 'https://duckduckgo.com/?q=%s&amp;t=epiphany', '!ddg'),
+- ('Google', 'https://www.google.com/search?q=%s', '!g'),
+- ('Bing', 'https://www.bing.com/search?q=%s', '!b')]
++ [('DuckDuckGo', 'https://duckduckgo.com/html/?q=%s&amp;t=epiphany', '!ddg')]
+ </default>
+ <summary>Default search engines.</summary>
+ <description>List of the default search engines. It is an array in which each search engine is described by a name, an address, and a bang (shortcut).</description>
+diff --git a/lib/ephy-search-engine-manager.h b/lib/ephy-search-engine-manager.h
+index 2e92396..c53684e 100644
+--- a/lib/ephy-search-engine-manager.h
++++ b/lib/ephy-search-engine-manager.h
+@@ -30,7 +30,7 @@ G_BEGIN_DECLS
+ * the version used in your country. For example for the french version :
+ * replace the ".com" with ".fr" : "https://duckduckgo.fr/?q=%s&amp;t=epiphany"
+ */
+-#define EPHY_SEARCH_ENGINE_DEFAULT_ADDRESS _("https://duckduckgo.com/?q=%s&amp;t=epiphany")
++#define EPHY_SEARCH_ENGINE_DEFAULT_ADDRESS _("https://duckduckgo.com/html/?q=%s&amp;t=epiphany")
+
+ #define EPHY_TYPE_SEARCH_ENGINE_MANAGER (ephy_search_engine_manager_get_type ())
+