[Reportbug-commits] [reportbug] 03/03: set monospace font when entering the bug body; thanks to Bob Bib for the report; Closes: #700032
Sandro Tosi
morph at moszumanska.debian.org
Fri May 23 23:34:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 9d2e33a0f07ec90a91950a70dbcebf3f6eed0ee4
Author: Sandro Tosi <morph at debian.org>
Date: Sat May 24 01:34:15 2014 +0200
set monospace font when entering the bug body; thanks to Bob Bib for the report; Closes: #700032
---
debian/changelog | 5 ++++-
reportbug/ui/gtk2_ui.py | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index bb17db5..c0e7fe6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,11 @@ reportbug (6.5.1) UNRELEASED; urgency=medium
* reportbug/{debbugs.py, utils.py}
- check for valid (as per Policy) package name while handling WNPP; thanks
to Paul Wise for the report; Closes: #748719
+ * reportbug/ui/gtk2_ui.py
+ - set monospace font when entering the bug body; thanks to Bob Bib for the
+ report; Closes: #700032
- -- Sandro Tosi <morph at debian.org> Sat, 24 May 2014 00:50:03 +0200
+ -- Sandro Tosi <morph at debian.org> Sat, 24 May 2014 01:33:27 +0200
reportbug (6.5.0) unstable; urgency=low
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index f82e3ec..1625995 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1113,6 +1113,7 @@ class EditorPage (Page):
vbox.pack_start (hbox, expand=False)
self.view = gtk.TextView ()
+ self.view.modify_font(pango.FontDescription("Monospace"))
self.view.set_wrap_mode (gtk.WRAP_WORD)
if has_spell:
gtkspell.Spell (self.view)
--
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