[gnote/tabbed: 13/19] Remove close on escape setting
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/tabbed: 13/19] Remove close on escape setting
- Date: Tue, 2 Nov 2021 14:34:34 +0000 (UTC)
commit d1f5afe36db1806443f039fea533fc1e50716daf
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Oct 24 17:36:03 2021 +0300
Remove close on escape setting
data/org.gnome.gnote.gschema.xml | 4 ++--
src/preferences.cpp | 1 -
src/preferences.hpp | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/data/org.gnome.gnote.gschema.xml b/data/org.gnome.gnote.gschema.xml
index 03add9db..0e5ba8ad 100644
--- a/data/org.gnome.gnote.gschema.xml
+++ b/data/org.gnome.gnote.gschema.xml
@@ -113,8 +113,8 @@
</key>
<key name="enable-close-note-on-escape" type="b">
<default>true</default>
- <summary>Enable closing notes with escape</summary>
- <description>If enabled, an opened note can be closed by hitting the escape key.</description>
+ <summary>Deprecated</summary>
+ <description>This key is deprecated and it's value is ignored.</description>
</key>
<key name="use-status-icon" type="b">
<default>false</default>
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 6ccaa1bb..09cb5a91 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -140,7 +140,6 @@ namespace gnote {
DEFINE_CACHING_SETTER_BOOL(m_schema_gnote, enable_wikiwords, ENABLE_WIKIWORDS)
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_GETTER_SETTER_BOOL(m_schema_gnote, enable_close_note_on_escape, ENABLE_CLOSE_NOTE_ON_ESCAPE)
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)
diff --git a/src/preferences.hpp b/src/preferences.hpp
index 7ef79e7e..b73899ea 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -64,7 +64,6 @@ namespace gnote {
GNOTE_PREFERENCES_CACHING_SETTING(enable_wikiwords, bool)
GNOTE_PREFERENCES_CACHING_SETTING(enable_custom_font, bool)
GNOTE_PREFERENCES_SETTING_BOOL(enable_auto_bulleted_lists)
- GNOTE_PREFERENCES_SETTING_BOOL(enable_close_note_on_escape)
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]