[nautilus/wip/ernestask/long-live-the-desktop: 9/12] metadata: drop unused keys
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/long-live-the-desktop: 9/12] metadata: drop unused keys
- Date: Tue, 2 Jan 2018 10:54:40 +0000 (UTC)
commit d6ab481dee03dfc1b4833086fa6ffd94f093b209
Author: Ernestas Kulik <ernestask gnome org>
Date: Tue Dec 19 13:12:51 2017 +0200
metadata: drop unused keys
src/nautilus-metadata.c | 12 ------------
src/nautilus-metadata.h | 15 ---------------
2 files changed, 27 deletions(-)
---
diff --git a/src/nautilus-metadata.c b/src/nautilus-metadata.c
index 16bf2f2e3..48851a7cf 100644
--- a/src/nautilus-metadata.c
+++ b/src/nautilus-metadata.c
@@ -22,24 +22,12 @@
static char *used_metadata_names[] =
{
- NAUTILUS_METADATA_KEY_LOCATION_BACKGROUND_COLOR,
- NAUTILUS_METADATA_KEY_LOCATION_BACKGROUND_IMAGE,
NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_BY,
NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_REVERSED,
NAUTILUS_METADATA_KEY_LIST_VIEW_SORT_COLUMN,
NAUTILUS_METADATA_KEY_LIST_VIEW_SORT_REVERSED,
NAUTILUS_METADATA_KEY_LIST_VIEW_VISIBLE_COLUMNS,
NAUTILUS_METADATA_KEY_LIST_VIEW_COLUMN_ORDER,
- NAUTILUS_METADATA_KEY_WINDOW_GEOMETRY,
- NAUTILUS_METADATA_KEY_WINDOW_SCROLL_POSITION,
- NAUTILUS_METADATA_KEY_WINDOW_SHOW_HIDDEN_FILES,
- NAUTILUS_METADATA_KEY_WINDOW_MAXIMIZED,
- NAUTILUS_METADATA_KEY_WINDOW_STICKY,
- NAUTILUS_METADATA_KEY_WINDOW_KEEP_ABOVE,
- NAUTILUS_METADATA_KEY_SIDEBAR_BACKGROUND_COLOR,
- NAUTILUS_METADATA_KEY_SIDEBAR_BACKGROUND_IMAGE,
- NAUTILUS_METADATA_KEY_SIDEBAR_BUTTONS,
- NAUTILUS_METADATA_KEY_ANNOTATION,
NAUTILUS_METADATA_KEY_CUSTOM_ICON,
NAUTILUS_METADATA_KEY_CUSTOM_ICON_NAME,
NAUTILUS_METADATA_KEY_EMBLEMS,
diff --git a/src/nautilus-metadata.h b/src/nautilus-metadata.h
index 996c520b1..4f291012c 100644
--- a/src/nautilus-metadata.h
+++ b/src/nautilus-metadata.h
@@ -31,9 +31,6 @@
/* Per-file */
-#define NAUTILUS_METADATA_KEY_LOCATION_BACKGROUND_COLOR "folder-background-color"
-#define NAUTILUS_METADATA_KEY_LOCATION_BACKGROUND_IMAGE "folder-background-image"
-
#define NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_BY "nautilus-icon-view-sort-by"
#define NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_REVERSED "nautilus-icon-view-sort-reversed"
@@ -42,18 +39,6 @@
#define NAUTILUS_METADATA_KEY_LIST_VIEW_VISIBLE_COLUMNS "nautilus-list-view-visible-columns"
#define NAUTILUS_METADATA_KEY_LIST_VIEW_COLUMN_ORDER "nautilus-list-view-column-order"
-#define NAUTILUS_METADATA_KEY_WINDOW_GEOMETRY "nautilus-window-geometry"
-#define NAUTILUS_METADATA_KEY_WINDOW_SCROLL_POSITION "nautilus-window-scroll-position"
-#define NAUTILUS_METADATA_KEY_WINDOW_SHOW_HIDDEN_FILES "nautilus-window-show-hidden-files"
-#define NAUTILUS_METADATA_KEY_WINDOW_MAXIMIZED "nautilus-window-maximized"
-#define NAUTILUS_METADATA_KEY_WINDOW_STICKY "nautilus-window-sticky"
-#define NAUTILUS_METADATA_KEY_WINDOW_KEEP_ABOVE "nautilus-window-keep-above"
-
-#define NAUTILUS_METADATA_KEY_SIDEBAR_BACKGROUND_COLOR "nautilus-sidebar-background-color"
-#define NAUTILUS_METADATA_KEY_SIDEBAR_BACKGROUND_IMAGE "nautilus-sidebar-background-image"
-#define NAUTILUS_METADATA_KEY_SIDEBAR_BUTTONS "nautilus-sidebar-buttons"
-
-#define NAUTILUS_METADATA_KEY_ANNOTATION "annotation"
#define NAUTILUS_METADATA_KEY_CUSTOM_ICON "custom-icon"
#define NAUTILUS_METADATA_KEY_CUSTOM_ICON_NAME "custom-icon-name"
#define NAUTILUS_METADATA_KEY_EMBLEMS "emblems"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]