[gnote/gnome-3-6] Fix runtime warning with markup in fixed width addin



commit 1c0a8cd39d16f1ee3465732217d223b17a1337a8
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Oct 6 20:15:44 2012 +0300

    Fix runtime warning with markup in fixed width addin

 src/addins/fixedwidth/fixedwidthmenuitem.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/addins/fixedwidth/fixedwidthmenuitem.cpp b/src/addins/fixedwidth/fixedwidthmenuitem.cpp
index 503beb3..ec089c3 100644
--- a/src/addins/fixedwidth/fixedwidthmenuitem.cpp
+++ b/src/addins/fixedwidth/fixedwidthmenuitem.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010-2011 Aurimas Cernius
+ * Copyright (C) 2010-2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -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]