File: 0011-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 (36 lines) | stat: -rw-r--r-- 1,145 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
From: Teus Benschop <teusjannette@gmail.com>
Date: Sun, 28 Oct 2018 06:37:24 +0100
Subject: patch source for webkit2

---
 src/gnome2/sidebar.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/gnome2/sidebar.c b/src/gnome2/sidebar.c
index b5b518c..5dda71e 100644
--- a/src/gnome2/sidebar.c
+++ b/src/gnome2/sidebar.c
@@ -845,14 +845,6 @@ on_open_in_dialog_activate(GtkMenuItem *menuitem, gpointer user_data)
 				    _("If no, it will open for display only."));
 
 		if (gui_yes_no_dialog(dialog_text, NULL)) {
-			if (mod_type == PERCOM_TYPE)
-				editor_create_new((gchar *)buf_module,
-						  (gchar *)
-						  settings.currentverse,
-						  NOTE_EDITOR);
-			else
-				editor_create_new((gchar *)buf_module,
-						  "0", BOOK_EDITOR);
 		} else {
 			if (mod_type == PERCOM_TYPE)
 				main_dialogs_open(buf_module,
@@ -1206,7 +1198,7 @@ GtkWidget *create_menu_prayerlist(void)
 
 void on_edit_activate(GtkMenuItem *menuitem, gpointer user_data)
 {
-	editor_create_new(buf_module, NULL, BOOK_EDITOR);
+	//editor_create_new(buf_module, NULL, BOOK_EDITOR);
 }
 
 GtkWidget *create_menu_prayerlist_mod(void)