[gnote] Remove sync traces from NoteWindow



commit 92bea5f04719d72942ac4e8629cb4aefc96476af
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Tue Sep 25 22:47:08 2012 +0300

    Remove sync traces from NoteWindow

 src/notewindow.cpp |   16 ----------------
 src/notewindow.hpp |    1 -
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index 93407f9..0bcfad6 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -382,27 +382,11 @@ namespace gnote {
     }
     tb->insert(*manage(new Gtk::SeparatorToolItem()), -1);
 
-#if 0    // Disable because of bug 585610
-    Gtk::ImageMenuItem *item =
-      manage(new Gtk::ImageMenuItem (_("Synchronize Notes")));
-    item->set_image(*manage(new Gtk::Image(Gtk::Stock::CONVERT, Gtk::ICON_SIZE_MENU)));
-    item->signal_activate().connect(
-      sigc::mem_fun(*this, &NoteWindow::sync_item_selected));
-    item->show();
-    m_plugin_menu->add(*item);
-#endif
-
     tb->show_all();
     return tb;
   }
 
 
-  void NoteWindow::sync_item_selected ()
-  {
-    ActionManager::obj()["NoteSynchronizationAction"]->activate();
-  }
-
-  
   //
   // This menu can be
   // populated by individual plugins using
diff --git a/src/notewindow.hpp b/src/notewindow.hpp
index 821335c..ec16355 100644
--- a/src/notewindow.hpp
+++ b/src/notewindow.hpp
@@ -154,7 +154,6 @@ private:
   void update_link_button_sensitivity();
   void on_populate_popup(Gtk::Menu*);
   Gtk::Toolbar * make_toolbar();
-  void sync_item_selected();
   Gtk::Menu * make_plugin_menu();
   Gtk::Box * make_template_bar();
   void on_untemplate_button_click();



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