File: 0006-patch-source-for-webkit2.patch

package info (click to toggle)
xiphos 4.1.0.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,572 kB
  • sloc: ansic: 25,543; cpp: 13,223; python: 12,684; xml: 2,951; sh: 144; makefile: 42
file content (48 lines) | stat: -rw-r--r-- 1,516 bytes parent folder | download
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
42
43
44
45
46
47
48
From: Teus Benschop <teusjannette@gmail.com>
Date: Sun, 28 Oct 2018 06:25:17 +0100
Subject: patch source for webkit2

---
 src/main/url.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/url.cc b/src/main/url.cc
index 2964888..1a02d5b 100644
--- a/src/main/url.cc
+++ b/src/main/url.cc
@@ -132,7 +132,7 @@ static void alert_url_not_found(const gchar *url)
 
 static gint show_studypad(const gchar *filename, gboolean clicked)
 {
-	editor_create_new(filename, NULL, STUDYPAD_EDITOR);
+	//editor_create_new(filename, NULL, STUDYPAD_EDITOR);
 	return 1;
 }
 
@@ -601,7 +601,7 @@ static int show_module_and_key(const char *module, const char *key,
 		}
 		if (!strcmp(stype, "newDialog")) {
 			if (module && (main_get_mod_type((gchar *)module) == PERCOM_TYPE)) {
-				editor_create_new(module, key, TRUE);
+				//editor_create_new(module, key, TRUE);
 				return 1;
 			}
 			main_dialog_goto_bookmark((gchar *)module,
@@ -795,7 +795,7 @@ gint sword_uri(const gchar *url, gboolean clicked)
 			if (settings.comm_showing)
 				main_display_commentary(NULL, key);
 			main_keep_bibletext_dialog_in_sync((gchar *)key);
-			editor_sync_with_main();
+			//editor_sync_with_main();
 
 			if (key)
 				g_free((gchar *)key);
@@ -837,7 +837,7 @@ gint sword_uri(const gchar *url, gboolean clicked)
 			main_display_bible(NULL, key);
 			main_keep_bibletext_dialog_in_sync((gchar *)key);
 
-			editor_sync_with_main();
+			//editor_sync_with_main();
 
 			if (key)
 				g_free((gchar *)key);