1 /* 2 nautilus-metadata.h: #defines and other metadata-related info 3 4 Copyright (C) 2000 Eazel, Inc. 5 6 This program is free software; you can redistribute it and/or 7 modify it under the terms of the GNU General Public License as 8 published by the Free Software Foundation; either version 2 of the 9 License, or (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 General Public License for more details. 15 16 You should have received a copy of the GNU General Public 17 License along with this program; if not, see <http://www.gnu.org/licenses/>. 18 19 Author: John Sullivan <sullivan@eazel.com> 20 */ 21 22 #pragma once 23 24 /* Keys for getting/setting Nautilus metadata. All metadata used in Nautilus 25 * should define its key here, so we can keep track of the whole set easily. 26 * Any updates here needs to be added in nautilus-metadata.c too. 27 */ 28 29 #include <glib.h> 30 31 /* Per-file */ 32 33 #define NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_BY "nautilus-icon-view-sort-by" 34 #define NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_REVERSED "nautilus-icon-view-sort-reversed" 35 36 #define NAUTILUS_METADATA_KEY_LIST_VIEW_SORT_COLUMN "nautilus-list-view-sort-column" 37 #define NAUTILUS_METADATA_KEY_LIST_VIEW_SORT_REVERSED "nautilus-list-view-sort-reversed" 38 #define NAUTILUS_METADATA_KEY_LIST_VIEW_VISIBLE_COLUMNS "nautilus-list-view-visible-columns" 39 #define NAUTILUS_METADATA_KEY_LIST_VIEW_COLUMN_ORDER "nautilus-list-view-column-order" 40 41 #define NAUTILUS_METADATA_KEY_CUSTOM_ICON "custom-icon" 42 #define NAUTILUS_METADATA_KEY_CUSTOM_ICON_NAME "custom-icon-name" 43 #define NAUTILUS_METADATA_KEY_EMBLEMS "emblems" 44 45 guint nautilus_metadata_get_id (const char *metadata); 46