summaryrefslogtreecommitdiff
path: root/libre/epiphany/libre.patch
blob: 4c65f528e9778e8dbf731138d9bfdd1d35e3b4af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From f5240f67aa9f00277570b3b28b726311c32d7843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Iv=C3=A1n=20=C3=81valos?= <avalos@disroot.org>
Date: Sun, 24 Jul 2022 02:07:05 -0500
Subject: [PATCH] libre

---
 data/org.gnome.epiphany.gschema.xml | 4 +---
 lib/ephy-search-engine-manager.h    | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 7fcac67b3..6f1444167 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -53,9 +53,7 @@
 			<default l10n="messages">
 				<![CDATA[
 				[
-					{'name': <'DuckDuckGo'>, 'url': <'https://duckduckgo.com/?q=%s&t=epiphany'>, 'bang': <'!ddg'>},
-					{'name': <'Google'>, 'url': <'https://www.google.com/search?q=%s'>, 'bang': <'!g'>},
-					{'name': <'Bing'>, 'url': <'https://www.bing.com/search?q=%s'>, 'bang': <'!b'>}
+					{'name': <'DuckDuckGo'>, 'url': <'https://duckduckgo.com/html/?q=%s&t=epiphany'>, 'bang': <'!ddg'>}
 				]
 			]]></default>
 			<summary>List of the search engines.</summary>
diff --git a/lib/ephy-search-engine-manager.h b/lib/ephy-search-engine-manager.h
index c1939d31f..d29bb78c2 100644
--- a/lib/ephy-search-engine-manager.h
+++ b/lib/ephy-search-engine-manager.h
@@ -32,7 +32,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 ())
 
-- 
2.37.1