~rosco2/ubuntu/trusty/gramps/bug-1320596

« back to all changes in this revision

Viewing changes to debian/patches/0004-Notes-always-say-no-data-exists-for-note-when-saving.patch

  • Committer: Ross Gammon
  • Date: 2014-05-19 21:59:15 UTC
  • mfrom: (47.1.1 utopic)
  • Revision ID: retail@the-gammons.net-20140519215915-a7zt31p2104j063d
[ Ross Gammon ]
* SRU to merge 4.0.3+dfsg-3 from development release (LP: #1320596)
[ Merge 4.0.3+dfsg-3 from Utopic ]
* Drop patch to disable HTML View
* Apply patch to fix and re-enable the HTML View.
  Thanks to Serge Noiraud (Closes: #737771)
* Fix bug preventing the editing of notes (Closes: #747318)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: kdau <bug#7501@gramps-project.org>
 
2
Date: Fri, 21 Mar 2014 15:04:40 +0100
 
3
Subject: Notes always say 'no data exists for note' when saving
 
4
 
 
5
From: kdau
 
6
Subject: 7501 - Notes always say 'no data exists for note' when saving
 
7
 
 
8
* gramps/gui/widgets/styledtexteditor.py: GObject constructor has been deprecated
 
9
 
 
10
Origin: upstream, http://sourceforge.net/p/gramps/source/ci/ff5265605d39fd6eaa1914caa7a494a86dd9007f/
 
11
Bug: https://gramps-project.org/bugs/view.php?id=7501
 
12
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747318
 
13
---
 
14
 gramps/gui/widgets/styledtexteditor.py | 3 ++-
 
15
 1 file changed, 2 insertions(+), 1 deletion(-)
 
16
 
 
17
diff --git a/gramps/gui/widgets/styledtexteditor.py b/gramps/gui/widgets/styledtexteditor.py
 
18
index a1c92db..d303404 100644
 
19
--- a/gramps/gui/widgets/styledtexteditor.py
 
20
+++ b/gramps/gui/widgets/styledtexteditor.py
 
21
@@ -179,7 +179,8 @@ class StyledTextEditor(Gtk.TextView):
 
22
         self.textbuffer = UndoableStyledBuffer()
 
23
         self.textbuffer.connect('style-changed', self._on_buffer_style_changed)
 
24
         self.textbuffer.connect('changed', self._on_buffer_changed)
 
25
-        GObject.GObject.__init__(self, buffer=self.textbuffer)
 
26
+        GObject.GObject.__init__(self)
 
27
+        self.set_buffer(self.textbuffer)
 
28
 
 
29
         st_cont = self.get_style_context()
 
30
         col = st_cont.lookup_color('link_color')