[gnote] Remove old note action support



commit 6e2a21e6c9e90f928ff4aa909534574ac09bda81
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Dec 26 21:07:48 2015 +0200

    Remove old note action support

 src/noteaddin.cpp |   10 ----------
 src/noteaddin.hpp |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/noteaddin.cpp b/src/noteaddin.cpp
index ec13b92..9d8a94a 100644
--- a/src/noteaddin.cpp
+++ b/src/noteaddin.cpp
@@ -92,16 +92,6 @@ namespace gnote {
     }
   }
 
-  void NoteAddin::add_note_action(const Glib::RefPtr<Gtk::Action> & action, int order)
-  {
-    if(is_disposing()) {
-      throw sharp::Exception("Plugin is disposing already");
-    }
-
-    m_note_actions.push_back(action->get_name());
-    //get_window()->add_widget_action(action, order);
-  }
-
   void NoteAddin::add_tool_item (Gtk::ToolItem *item, int position)
   {
     if (is_disposing())
diff --git a/src/noteaddin.hpp b/src/noteaddin.hpp
index ccf1e74..0deecfa 100644
--- a/src/noteaddin.hpp
+++ b/src/noteaddin.hpp
@@ -108,7 +108,6 @@ public:
       return m_note->manager();
     }
   void on_note_opened_event(Note & );
-  void add_note_action(const Glib::RefPtr<Gtk::Action> & action, int order);
   void add_tool_item (Gtk::ToolItem *item, int position);
   void add_text_menu_item (Gtk::MenuItem * item);
 private:


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