1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- 2 3 nemo-metadata.h: #defines and other metadata-related info 4 5 Copyright (C) 2000 Eazel, Inc. 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the 10 License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 General Public License for more details. 16 17 You should have received a copy of the GNU General Public 18 License along with this program; if not, write to the 19 Free Software Foundation, Inc., 51 Franklin Street - Suite 500, 20 Boston, MA 02110-1335, USA. 21 22 Author: John Sullivan <sullivan@eazel.com> 23 */ 24 25 #ifndef NEMO_METADATA_H 26 #define NEMO_METADATA_H 27 28 /* Keys for getting/setting Nemo metadata. All metadata used in Nemo 29 * should define its key here, so we can keep track of the whole set easily. 30 * Any updates here needs to be added in nemo-metadata.c too. 31 */ 32 33 #include <glib.h> 34 35 /* Per-file */ 36 37 #define NEMO_METADATA_KEY_DEFAULT_VIEW "nemo-default-view" 38 39 #define NEMO_METADATA_KEY_LOCATION_BACKGROUND_COLOR "folder-background-color" 40 #define NEMO_METADATA_KEY_LOCATION_BACKGROUND_IMAGE "folder-background-image" 41 42 #define NEMO_METADATA_KEY_ICON_VIEW_ZOOM_LEVEL "nemo-icon-view-zoom-level" 43 #define NEMO_METADATA_KEY_ICON_VIEW_AUTO_LAYOUT "nemo-icon-view-auto-layout" 44 #define NEMO_METADATA_KEY_ICON_VIEW_SORT_BY "nemo-icon-view-sort-by" 45 #define NEMO_METADATA_KEY_ICON_VIEW_SORT_REVERSED "nemo-icon-view-sort-reversed" 46 #define NEMO_METADATA_KEY_ICON_VIEW_KEEP_ALIGNED "nemo-icon-view-keep-aligned" 47 #define NEMO_METADATA_KEY_ICON_VIEW_LAYOUT_TIMESTAMP "nemo-icon-view-layout-timestamp" 48 49 #define NEMO_METADATA_KEY_LIST_VIEW_ZOOM_LEVEL "nemo-list-view-zoom-level" 50 #define NEMO_METADATA_KEY_LIST_VIEW_SORT_COLUMN "nemo-list-view-sort-column" 51 #define NEMO_METADATA_KEY_LIST_VIEW_SORT_REVERSED "nemo-list-view-sort-reversed" 52 #define NEMO_METADATA_KEY_LIST_VIEW_VISIBLE_COLUMNS "nemo-list-view-visible-columns" 53 #define NEMO_METADATA_KEY_LIST_VIEW_COLUMN_ORDER "nemo-list-view-column-order" 54 55 #define NEMO_METADATA_KEY_COMPACT_VIEW_ZOOM_LEVEL "nemo-compact-view-zoom-level" 56 57 #define NEMO_METADATA_KEY_WINDOW_GEOMETRY "nemo-window-geometry" 58 #define NEMO_METADATA_KEY_WINDOW_SCROLL_POSITION "nemo-window-scroll-position" 59 #define NEMO_METADATA_KEY_WINDOW_SHOW_HIDDEN_FILES "nemo-window-show-hidden-files" 60 #define NEMO_METADATA_KEY_WINDOW_MAXIMIZED "nemo-window-maximized" 61 #define NEMO_METADATA_KEY_WINDOW_STICKY "nemo-window-sticky" 62 #define NEMO_METADATA_KEY_WINDOW_KEEP_ABOVE "nemo-window-keep-above" 63 64 #define NEMO_METADATA_KEY_SIDEBAR_BACKGROUND_COLOR "nemo-sidebar-background-color" 65 #define NEMO_METADATA_KEY_SIDEBAR_BACKGROUND_IMAGE "nemo-sidebar-background-image" 66 #define NEMO_METADATA_KEY_SIDEBAR_BUTTONS "nemo-sidebar-buttons" 67 68 #define NEMO_METADATA_KEY_ANNOTATION "annotation" 69 70 #define NEMO_METADATA_KEY_ICON_POSITION "nemo-icon-position" 71 #define NEMO_METADATA_KEY_ICON_POSITION_TIMESTAMP "nemo-icon-position-timestamp" 72 #define NEMO_METADATA_KEY_ICON_SCALE "icon-scale" 73 #define NEMO_METADATA_KEY_CUSTOM_ICON "custom-icon" 74 #define NEMO_METADATA_KEY_CUSTOM_ICON_NAME "custom-icon-name" 75 #define NEMO_METADATA_KEY_EMBLEMS "emblems" 76 77 #define NEMO_METADATA_KEY_MONITOR "monitor" 78 #define NEMO_METADATA_KEY_DESKTOP_GRID_HORIZONTAL "desktop-horizontal" 79 #define NEMO_METADATA_KEY_SHOW_THUMBNAILS "show-thumbnails" 80 #define NEMO_METADATA_KEY_DESKTOP_GRID_ADJUST "desktop-grid-adjust" 81 82 #define NEMO_METADATA_KEY_PINNED "pinned-to-top" 83 #define NEMO_METADATA_KEY_FAVORITE "xapp-favorite" 84 #define NEMO_METADATA_KEY_FAVORITE_AVAILABLE "xapp-favorite-available" 85 86 guint nemo_metadata_get_id (const char *metadata); 87 88 #endif /* NEMO_METADATA_H */ 89