[gnote] Fix runtime warning with markup in fixed width addin
- From: Aurimas Äernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix runtime warning with markup in fixed width addin
- Date: Sat, 6 Oct 2012 13:21:06 +0000 (UTC)
commit c308e1209de53faf6c9e5ba75a66546ea6c86cf8
Author: Aurimas Äernius <aurisc4 gmail com>
Date: Fri Sep 21 22:37:33 2012 +0300
Fix runtime warning with markup in fixed width addin
src/addins/fixedwidth/fixedwidthmenuitem.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/fixedwidth/fixedwidthmenuitem.cpp b/src/addins/fixedwidth/fixedwidthmenuitem.cpp
index e702d2c..892a156 100644
--- a/src/addins/fixedwidth/fixedwidthmenuitem.cpp
+++ b/src/addins/fixedwidth/fixedwidthmenuitem.cpp
@@ -31,8 +31,8 @@
namespace fixedwidth {
FixedWidthMenuItem::FixedWidthMenuItem(gnote::NoteAddin *addin)
- : Gtk::CheckMenuItem(Glib::ustring("<span font_family=\"monospace\">")
- + _("Fixed Wid_th") + "</span>", true)
+ : Gtk::CheckMenuItem(Glib::ustring("<tt>")
+ + _("Fixed Wid_th") + "</tt>", true)
, m_note_addin(addin)
, m_event_freeze(false)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]