[Reportbug-commits] [reportbug] 03/12: switch from gtkspell (now removed) to gtkspellcheck; Closes: #802387
Sandro Tosi
morph at moszumanska.debian.org
Fri Jan 1 18:37:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 169718ee21a19dc0ff00fc900b8b59582b2e4a03
Author: Sandro Tosi <morph at debian.org>
Date: Thu Dec 31 14:16:15 2015 +0000
switch from gtkspell (now removed) to gtkspellcheck; Closes: #802387
---
debian/changelog | 4 +++-
debian/control | 2 +-
reportbug/ui/gtk2_ui.py | 6 +++---
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d5f3d6a..d5baa62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,8 +23,10 @@ reportbug (6.6.6) UNRELEASED; urgency=medium
* reportbug/ui/text_ui.py
- dont crash when selecting "Providing additional information" after
filtering the bugs list more than once; Closes: #804130
+ * reportbug/ui/gtk2_ui.py
+ - switch from gtkspell (now removed) to gtkspellcheck; Closes: #802387
- -- Sandro Tosi <morph at debian.org> Thu, 31 Dec 2015 13:22:18 +0000
+ -- Sandro Tosi <morph at debian.org> Thu, 31 Dec 2015 14:15:42 +0000
reportbug (6.6.5) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index fe304af..f31f3b3 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Homepage: http://alioth.debian.org/projects/reportbug/
Package: reportbug
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, apt, python-reportbug (= ${source:Version})
-Suggests: postfix | exim4 | mail-transport-agent, gnupg | pgp, debconf-utils (>> 1.1.0), debsums (>= 2.0.47), file (>> 1.30), dlocate, python-urwid, python-gtk2, python-vte, python-gtkspell, xdg-utils, emacs23-bin-common | emacs24-bin-common, claws-mail (>= 3.8.0)
+Suggests: postfix | exim4 | mail-transport-agent, gnupg | pgp, debconf-utils (>> 1.1.0), debsums (>= 2.0.47), file (>> 1.30), dlocate, python-urwid, python-gtk2, python-vte, python-gtkspellcheck, xdg-utils, emacs23-bin-common | emacs24-bin-common, claws-mail (>= 3.8.0)
Description: reports bugs in the Debian distribution
reportbug is a tool designed to make the reporting of bugs in Debian
and derived distributions relatively painless. Its features include:
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 329b9f3..cf9937d 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -30,7 +30,7 @@ except ImportError:
global vte
try:
- import gtkspell
+ import gtkspellcheck
has_spell = True
except:
has_spell = False
@@ -1145,7 +1145,7 @@ class EditorPage(Page):
self.view.modify_font(pango.FontDescription("Monospace"))
self.view.set_wrap_mode(gtk.WRAP_WORD)
if has_spell:
- gtkspell.Spell(self.view)
+ gtkspellcheck.SpellChecker(self.view)
self.info_buffer = self.view.get_buffer()
scrolled = create_scrollable(self.view)
vbox.pack_start(scrolled)
@@ -1160,7 +1160,7 @@ class EditorPage(Page):
if not has_spell:
box = gtk.EventBox()
- label = gtk.Label("Please install <b>python-gtkspell</b> to enable spell checking")
+ label = gtk.Label("Please install <b>python-gtkspellcheck</b> to enable spell checking")
label.set_use_markup(True)
label.set_line_wrap(True)
label.set_selectable(True)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git
More information about the Reportbug-commits
mailing list