[gnote] Fix fixed width menu item activation
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix fixed width menu item activation
- Date: Fri, 8 Oct 2010 19:17:11 +0000 (UTC)
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]