[gnote] Add use_client_side_decorations



commit 9b02757c25ae0a24f57b7777ff4b0486e4767bbd
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Dec 19 18:37:32 2020 +0200

    Add use_client_side_decorations

 src/preferences.cpp | 1 +
 src/preferences.hpp | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 1a6d84c1..f47500df 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -174,6 +174,7 @@ namespace gnote {
   DEFINE_GETTER_SETTER_INT(m_schema_gnote, search_window_height, SEARCH_WINDOW_HEIGHT)
   DEFINE_GETTER_SETTER_INT(m_schema_gnote, search_window_splitter_pos, SEARCH_WINDOW_SPLITTER_POS)
   DEFINE_GETTER_SETTER_STRING(m_schema_gnote, search_sorting, SEARCH_SORTING)
+  DEFINE_GETTER_SETTER_STRING(m_schema_gnote, use_client_side_decorations, USE_CLIENT_SIDE_DECORATIONS)
 
   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 3b22859b..bf27b224 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -87,6 +87,7 @@ namespace gnote {
     GNOTE_PREFERENCES_SETTING_INT(search_window_height)
     GNOTE_PREFERENCES_SETTING_INT(search_window_splitter_pos)
     GNOTE_PREFERENCES_SETTING_STRING(search_sorting)
+    GNOTE_PREFERENCES_SETTING_STRING(use_client_side_decorations)
 
     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]