[gnote] Fix fixed width menu item activation



commit 49a35b845bcc187a5a115992a622ff192920f668
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Fri Oct 8 22:05:33 2010 +0300

    Fix fixed width menu item activation
    
    Check box is not checked, when it should be.

 src/addins/fixedwidth/fixedwidthmenuitem.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/addins/fixedwidth/fixedwidthmenuitem.cpp b/src/addins/fixedwidth/fixedwidthmenuitem.cpp
index 79929da..b0681ef 100644
--- a/src/addins/fixedwidth/fixedwidthmenuitem.cpp
+++ b/src/addins/fixedwidth/fixedwidthmenuitem.cpp
@@ -52,7 +52,8 @@ namespace fixedwidth {
   void FixedWidthMenuItem::on_activate()
   {
     if (!m_event_freeze)
-				m_note_addin->get_buffer()->toggle_active_tag ("monospace");
+      m_note_addin->get_buffer()->toggle_active_tag ("monospace");
+    Gtk::CheckMenuItem::on_activate();
   }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]