[gnote/tabbed: 10/19] Remove autosize_note_window setting
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/tabbed: 10/19] Remove autosize_note_window setting
- Date: Tue, 2 Nov 2021 14:34:34 +0000 (UTC)
commit bbfc3f394da03dc7b1dcdc383b686a0d6d771a34
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Oct 24 17:23:55 2021 +0300
Remove autosize_note_window 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 0adac7c5..03add9db 100644
--- a/data/org.gnome.gnote.gschema.xml
+++ b/data/org.gnome.gnote.gschema.xml
@@ -128,8 +128,8 @@
</key>
<key name="autosize-note-window" type="b">
<default>false</default>
- <summary>Save note window size and autosize note window to it</summary>
- <description>Saves note window size and automatically resizes main window to this size, when note is
opened.</description>
+ <summary>Deprecated</summary>
+ <description>This key is depracated and it's value is ignored.</description>
</key>
<key name="use-client-side-decorations" type="s">
<default>'gnome,ubuntu,pop'</default>
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 02b2e24a..6ccaa1bb 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -143,7 +143,6 @@ namespace gnote {
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_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)
diff --git a/src/preferences.hpp b/src/preferences.hpp
index dbd7a4d1..7ef79e7e 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -67,7 +67,6 @@ namespace gnote {
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_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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]