[gnote] Cleanup setting constants
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Cleanup setting constants
- Date: Sat, 19 Dec 2020 14:06:22 +0000 (UTC)
commit fff4eba4fdb37c6e4753d27df78a010005d45e05
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Dec 19 16:05:38 2020 +0200
Cleanup setting constants
src/preferences.cpp | 22 +++++++++-------------
src/preferences.hpp | 14 --------------
2 files changed, 9 insertions(+), 27 deletions(-)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 1f9426c3..f2724952 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -77,6 +77,15 @@ const Glib::ustring ENABLE_AUTO_LINKS = "enable-auto-links";
const Glib::ustring ENABLE_URL_LINKS = "enable-url-links";
const Glib::ustring ENABLE_WIKIWORDS = "enable-wikiwords";
const Glib::ustring ENABLE_CUSTOM_FONT = "enable-custom-font";
+const Glib::ustring ENABLE_AUTO_BULLETED_LISTS = "enable-bulleted-lists";
+//const Glib::ustring ENABLE_ICON_PASTE = "enable-icon-paste"; NOT USED CURRENTLY
+const Glib::ustring ENABLE_CLOSE_NOTE_ON_ESCAPE = "enable-close-note-on-escape";
+const Glib::ustring NOTE_RENAME_BEHAVIOR = "note-rename-behavior";
+const Glib::ustring START_NOTE_URI = "start-note";
+const Glib::ustring CUSTOM_FONT_FACE = "custom-font-face";
+const Glib::ustring MENU_PINNED_NOTES = "menu-pinned-notes";
+const Glib::ustring OPEN_NOTES_IN_NEW_WINDOW = "open-notes-in-new-window";
+const Glib::ustring AUTOSIZE_NOTE_WINDOW = "autosize-note-window";
const Glib::ustring DESKTOP_GNOME_CLOCK_FORMAT = "clock-format";
const Glib::ustring DESKTOP_GNOME_FONT = "document-font-name";
@@ -99,19 +108,6 @@ namespace gnote {
const char * Preferences::SCHEMA_GNOTE = "org.gnome.gnote";
- const char * Preferences::ENABLE_AUTO_BULLETED_LISTS = "enable-bulleted-lists";
- const char * Preferences::ENABLE_ICON_PASTE = "enable-icon-paste";
- const char * Preferences::ENABLE_CLOSE_NOTE_ON_ESCAPE = "enable-close-note-on-escape";
-
- const char * Preferences::START_NOTE_URI = "start-note";
- const char * Preferences::CUSTOM_FONT_FACE = "custom-font-face";
- const char * Preferences::MENU_NOTE_COUNT = "menu-note-count";
- const char * Preferences::MENU_PINNED_NOTES = "menu-pinned-notes";
-
- const char * Preferences::NOTE_RENAME_BEHAVIOR = "note-rename-behavior";
- const char * Preferences::USE_STATUS_ICON = "use-status-icon";
- const char * Preferences::OPEN_NOTES_IN_NEW_WINDOW = "open-notes-in-new-window";
- const char * Preferences::AUTOSIZE_NOTE_WINDOW = "autosize-note-window";
const char * Preferences::USE_CLIENT_SIDE_DECORATIONS = "use-client-side-decorations";
const char * Preferences::MAIN_WINDOW_MAXIMIZED = "main-window-maximized";
diff --git a/src/preferences.hpp b/src/preferences.hpp
index 3f6658bf..24d2361d 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -57,20 +57,6 @@ namespace gnote {
public:
static const char *SCHEMA_GNOTE;
- static const char *ENABLE_AUTO_BULLETED_LISTS;
- static const char *ENABLE_ICON_PASTE;
- static const char *ENABLE_CLOSE_NOTE_ON_ESCAPE;
-
- static const char *START_NOTE_URI;
- static const char *CUSTOM_FONT_FACE;
- static const char *MENU_NOTE_COUNT;
- static const char *MENU_PINNED_NOTES;
-
- static const char *NOTE_RENAME_BEHAVIOR;
- static const char *USE_STATUS_ICON;
- static const char *OPEN_NOTES_IN_NEW_WINDOW;
- static const char *AUTOSIZE_NOTE_WINDOW;
-
static const char *MAIN_WINDOW_MAXIMIZED;
static const char *SEARCH_WINDOW_WIDTH;
static const char *SEARCH_WINDOW_HEIGHT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]