[gnote] Add menu_pinned_notes



commit cb42bfa6387423ce5e0d2f12e4c602d14c61c589
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Dec 19 16:03:54 2020 +0200

    Add menu_pinned_notes

 src/preferences.cpp | 1 +
 src/preferences.hpp | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index faaa941d..1f9426c3 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -172,6 +172,7 @@ namespace gnote {
   DEFINE_GETTER_SETTER_BOOL(m_schema_gnote, autosize_note_window, AUTOSIZE_NOTE_WINDOW)
   DEFINE_GETTER_SETTER_STRING(m_schema_gnote, start_note_uri, START_NOTE_URI)
   DEFINE_CACHING_SETTER_STRING(m_schema_gnote, custom_font_face, CUSTOM_FONT_FACE)
+  DEFINE_GETTER_SETTER_STRING(m_schema_gnote, menu_pinned_notes, MENU_PINNED_NOTES)
 
   DEFINE_GETTER_STRING(m_schema_sync, sync_client_id, SYNC_CLIENT_ID)
   DEFINE_GETTER_SETTER_STRING(m_schema_sync, sync_local_path, SYNC_LOCAL_PATH)
diff --git a/src/preferences.hpp b/src/preferences.hpp
index 803e7695..3f6658bf 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -95,6 +95,7 @@ namespace gnote {
     GNOTE_PREFERENCES_SETTING_BOOL(autosize_note_window)
     GNOTE_PREFERENCES_SETTING_STRING(start_note_uri)
     GNOTE_PREFERENCES_CACHING_SETTING(custom_font_face, const Glib::ustring &)
+    GNOTE_PREFERENCES_SETTING_STRING(menu_pinned_notes)
 
     GNOTE_PREFERENCES_CACHING_SETTING_RO(desktop_gnome_clock_format, const Glib::ustring &)
     GNOTE_PREFERENCES_CACHING_SETTING_RO(desktop_gnome_font, const Glib::ustring &)


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