[gnote] Reorder note action menu



commit 14e4e64936369436c23524c64a561e1c674aac06
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Aug 20 20:14:44 2017 +0300

    Reorder note action menu

 src/iactionmanager.hpp |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/src/iactionmanager.hpp b/src/iactionmanager.hpp
index 608a2f7..cf386a8 100644
--- a/src/iactionmanager.hpp
+++ b/src/iactionmanager.hpp
@@ -30,16 +30,19 @@
 namespace gnote {
 
 enum NoteActionOrder {
-  NOTEBOOK_ORDER = 50,
-  BACKLINKS_ORDER = 100,
-  EXPORT_TO_HTML_ORDER = 200,
-  EXPORT_TO_GTG_ORDER = 250,
-  INSERT_TIMESTAMP_ORDER = 300,
-  PRINT_ORDER = 400,
-  REPLACE_TITLE_ORDER = 500,
-  TABLE_OF_CONTENTS_ORDER = 600,
-  READ_ONLY_ORDER = 700,
-  SPELL_CHECK_ORDER = 800,
+  // Note properties (1-999)
+  NOTEBOOK_ORDER = 100,
+  BACKLINKS_ORDER = 200,
+  TABLE_OF_CONTENTS_ORDER = 300,
+  READ_ONLY_ORDER = 400,
+  // Tools (1000-1999)
+  SPELL_CHECK_ORDER = 1100,
+  // Actions (2000-2999)
+  EXPORT_TO_HTML_ORDER = 2100,
+  EXPORT_TO_GTG_ORDER = 2200,
+  INSERT_TIMESTAMP_ORDER = 2300,
+  PRINT_ORDER = 2400,
+  REPLACE_TITLE_ORDER = 2500,
 };
 
 class IActionManager


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