[gnote] Fix underline menu item activation



commit 365d0191702e38b1314b7346812071391dacd978
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Fri Oct 8 22:08:45 2010 +0300

    Fix underline menu item activation
    
    Underline menu item is not checked, when it should be.

 src/addins/underline/underlinemenuitem.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/addins/underline/underlinemenuitem.cpp b/src/addins/underline/underlinemenuitem.cpp
index f43a9f4..c08ac77 100644
--- a/src/addins/underline/underlinemenuitem.cpp
+++ b/src/addins/underline/underlinemenuitem.cpp
@@ -52,7 +52,8 @@ namespace underline {
   void UnderlineMenuItem::on_activate()
   {
     if (!m_event_freeze)
-				m_note_addin->get_buffer()->toggle_active_tag ("underline");
+      m_note_addin->get_buffer()->toggle_active_tag ("underline");
+    Gtk::CheckMenuItem::on_activate();
   }
 
 



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