[gnote] Do not add text menu to context menu



commit 4d2d07cefccf0874c91b06dc3a82514acc7a766d
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Mar 12 21:14:30 2016 +0200

    Do not add text menu to context menu

 src/notewindow.cpp |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index 9ea77ba..9cdff9f 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -382,19 +382,10 @@ namespace gnote {
                           Gdk::CONTROL_MASK, Gtk::ACCEL_VISIBLE);
     link->show();
       
-    Gtk::ImageMenuItem *text_item = manage(new Gtk::ImageMenuItem(_("Te_xt"), true));
-    text_item->set_image(*manage(new Gtk::Image(
-                                   Gtk::Stock::SELECT_FONT, 
-                                   Gtk::ICON_SIZE_MENU)));
-    text_item->set_submenu(*manage(new NoteTextMenu(m_note.get_buffer(),
-                                                    m_note.get_buffer()->undoer())));
-    text_item->show();
-
     Gtk::MenuItem *spacer2 = manage(new Gtk::SeparatorMenuItem());
     spacer2->show();
 
     menu->prepend(*spacer1);
-    menu->prepend(*text_item);
     menu->prepend(*link);
   }
   


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