[gnote] Mark non-modifying built-in actions



commit 65873f8efe73b2506754570b5dba7bfff33863c6
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri Jan 8 23:41:52 2016 +0200

    Mark non-modifying built-in actions

 src/actionmanager.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index c5f1565..37635ae 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -73,12 +73,12 @@ namespace gnote {
     make_app_actions();
     make_app_menu_items();
 
-    register_main_window_action("close-window", NULL);
-    register_main_window_action("delete-note", NULL);
-    register_main_window_action("important-note", &Glib::Variant<bool>::variant_type());
+    register_main_window_action("close-window", NULL, false);
+    register_main_window_action("delete-note", NULL, false);
+    register_main_window_action("important-note", &Glib::Variant<bool>::variant_type(), false);
     register_main_window_action("enable-spell-check", &Glib::Variant<bool>::variant_type());
-    register_main_window_action("new-notebook", NULL);
-    register_main_window_action("move-to-notebook", &Glib::Variant<Glib::ustring>::variant_type());
+    register_main_window_action("new-notebook", NULL, false);
+    register_main_window_action("move-to-notebook", &Glib::Variant<Glib::ustring>::variant_type(), false);
   }
 
 


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