[gnote] Insert notebook item at the beginning of note toolbar



commit 9fff1c9e1ef1df3c91e121e470558165ab13915b
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Tue Apr 15 23:15:09 2014 +0300

    Insert notebook item at the beginning of note toolbar

 src/notebooks/notebooknoteaddin.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notebooks/notebooknoteaddin.cpp b/src/notebooks/notebooknoteaddin.cpp
index ab98d3c..89ce5b8 100644
--- a/src/notebooks/notebooknoteaddin.cpp
+++ b/src/notebooks/notebooknoteaddin.cpp
@@ -83,7 +83,7 @@ namespace notebooks {
     m_show_menu_cid = m_menu->signal_show()
       .connect(sigc::mem_fun(*this, &NotebookNoteAddin::on_menu_shown));
     m_toolButton->show_all();
-    add_tool_item(m_toolButton, -1);
+    add_tool_item(m_toolButton, 0);
     update_notebook_button_label();
     
     m_note_added_cid = NotebookManager::obj().signal_note_added_to_notebook()


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