[gnote] Add search_sorting
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Add search_sorting
- Date: Sun, 20 Dec 2020 10:58:50 +0000 (UTC)
commit 676ef45667cdab9de83edab845a974e04e47977d
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Dec 19 18:23:31 2020 +0200
Add search_sorting
src/preferences.cpp | 1 +
src/preferences.hpp | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index e2262082..1a6d84c1 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -173,6 +173,7 @@ namespace gnote {
DEFINE_GETTER_SETTER_INT(m_schema_gnote, search_window_width, SEARCH_WINDOW_WIDTH)
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_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 f42e1002..3b22859b 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -86,6 +86,7 @@ namespace gnote {
GNOTE_PREFERENCES_SETTING_INT(search_window_width)
GNOTE_PREFERENCES_SETTING_INT(search_window_height)
GNOTE_PREFERENCES_SETTING_INT(search_window_splitter_pos)
+ GNOTE_PREFERENCES_SETTING_STRING(search_sorting)
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]