[gnote] Remove commented out code



commit ab87b0e610cc24eb39a1b35a62bae40a6beb3fd9
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Oct 20 17:54:11 2012 +0300

    Remove commented out code

 src/actionmanager.cpp |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index f3f20a5..4e5fd46 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -93,16 +93,6 @@ namespace gnote {
     DBG_ASSERT(id, "merge failed");
     Gtk::Window::set_default_icon_name("gnote");
 
-
-#if 0
-    Gtk::ImageMenuItem *imageitem = (Gtk::ImageMenuItem*)m_ui->get_widget(
-      "/MainWindowMenubar/FileMenu/FileMenuNewNotePlaceholder/NewNote");
-    DBG_ASSERT(imageitem, "Item not found");
-    if (imageitem) {
-      imageitem->set_image(*manage(new Gtk::Image(m_newNote)));
-    }
-#endif
-
     Gtk::ImageMenuItem *imageitem = (Gtk::ImageMenuItem*)m_ui->get_widget (
       "/TrayIconMenu/TrayNewNotePlaceholder/TrayNewNote");
     DBG_ASSERT(imageitem, "Item not found");



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