[gnote/tabbed] Remove helpers for open in new window setting



commit 21ecead143f9d1d83da4e82e56a4403c9cfb8968
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Nov 21 21:28:24 2021 +0200

    Remove helpers for open in new window setting

 src/preferences.cpp | 2 --
 src/preferences.hpp | 1 -
 2 files changed, 3 deletions(-)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 09cb5a91..18f5991f 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -126,7 +126,6 @@ namespace gnote {
     SETUP_CACHED_KEY(m_schema_gnote, enable_custom_font, ENABLE_CUSTOM_FONT, boolean);
     SETUP_CACHED_KEY(m_schema_gnote, note_rename_behavior, NOTE_RENAME_BEHAVIOR, int);
     SETUP_CACHED_KEY(m_schema_gnote, custom_font_face, CUSTOM_FONT_FACE, string);
-    SETUP_CACHED_KEY(m_schema_gnote, open_notes_in_new_window, OPEN_NOTES_IN_NEW_WINDOW, boolean);
 
     SETUP_CACHED_KEY(m_schema_gnome_interface, desktop_gnome_clock_format, DESKTOP_GNOME_CLOCK_FORMAT, 
string);
 
@@ -141,7 +140,6 @@ namespace gnote {
   DEFINE_CACHING_SETTER_BOOL(m_schema_gnote, enable_custom_font, ENABLE_CUSTOM_FONT)
   DEFINE_GETTER_SETTER_BOOL(m_schema_gnote, enable_auto_bulleted_lists, ENABLE_AUTO_BULLETED_LISTS)
   DEFINE_CACHING_SETTER_INT(m_schema_gnote, note_rename_behavior, NOTE_RENAME_BEHAVIOR)
-  DEFINE_CACHING_SETTER_BOOL(m_schema_gnote, open_notes_in_new_window, OPEN_NOTES_IN_NEW_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)
diff --git a/src/preferences.hpp b/src/preferences.hpp
index b73899ea..5e00e667 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -65,7 +65,6 @@ namespace gnote {
     GNOTE_PREFERENCES_CACHING_SETTING(enable_custom_font, bool)
     GNOTE_PREFERENCES_SETTING_BOOL(enable_auto_bulleted_lists)
     GNOTE_PREFERENCES_CACHING_SETTING(note_rename_behavior, int)
-    GNOTE_PREFERENCES_CACHING_SETTING(open_notes_in_new_window, bool)
     GNOTE_PREFERENCES_SETTING_STRING(start_note_uri)
     GNOTE_PREFERENCES_CACHING_SETTING(custom_font_face, const Glib::ustring &)
     GNOTE_PREFERENCES_SETTING_STRING(menu_pinned_notes)


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