summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-metadata.h
blob: cba7e54e82f2d5d67f88e1af369e9ddf60bb9b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-

   nautilus-metadata.h: #defines and other metadata-related info
 
   Copyright (C) 2000 Eazel, Inc.
  
   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License as
   published by the Free Software Foundation; either version 2 of the
   License, or (at your option) any later version.
  
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   General Public License for more details.
  
   You should have received a copy of the GNU General Public
   License along with this program; if not, write to the
   Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.
  
   Author: John Sullivan <sullivan@eazel.com>
*/

#ifndef NAUTILUS_METADATA_H
#define NAUTILUS_METADATA_H

/* Keys for getting/setting Nautilus metadata. All metadata used in Nautilus
 * should define its key here, so we can keep track of the whole set easily.
 */

/* Per-directory */

#define NAUTILUS_METADATA_KEY_INITIAL_VIEW               "INITIAL_VIEW"
#define NAUTILUS_METADATA_KEY_CONTENT_VIEWS              "CONTENT_VIEWS"

#define NAUTILUS_METADATA_KEY_DIRECTORY_BACKGROUND_COLOR "BACKGROUND_COLOR"
#define NAUTILUS_METADATA_KEY_DIRECTORY_BACKGROUND_IMAGE "BACKGROUND_TILE_IMAGE"

#define NAUTILUS_METADATA_KEY_ICON_VIEW_ZOOM_LEVEL       "ICONS_ZOOM_LEVEL"
#define NAUTILUS_METADATA_KEY_ICON_VIEW_AUTO_LAYOUT      "ICONS_AUTO_LAYOUT"
#define NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_BY          "ICONS_SORT_BY"
#define NAUTILUS_METADATA_KEY_ICON_VIEW_SORT_REVERSED    "ICONS_SORT_REVERSED"

#define NAUTILUS_METADATA_KEY_LIST_VIEW_ZOOM_LEVEL       "LIST_ZOOM_LEVEL"
#define NAUTILUS_METADATA_KEY_LIST_VIEW_SORT_COLUMN      "LIST_SORT_COLUMN"
#define NAUTILUS_METADATA_KEY_LIST_VIEW_SORT_REVERSED    "LIST_SORT_REVERSED"

#define NAUTILUS_METADATA_KEY_SIDEBAR_BACKGROUND_COLOR   "SIDEBAR_BACKGROUND_COLOR"
#define NAUTILUS_METADATA_KEY_SIDEBAR_BACKGROUND_IMAGE   "SIDEBAR_BACKGROUND_TILE_IMAGE"
#define NAUTILUS_METADATA_KEY_SIDEBAR_TAB_COLOR		 "SIDEBAR_TAB_COLOR"
#define NAUTILUS_METADATA_KEY_SIDEBAR_TITLE_TAB_COLOR	 "SIDEBAR_TITLE_TAB_COLOR"

/* Per-file */

#define NAUTILUS_METADATA_KEY_NOTES                      "NOTES"
#define NAUTILUS_METADATA_KEY_ANNOTATION                 "ANNOTATION"
#define NAUTILUS_METADATA_KEY_ICON_POSITION              "ICON_POSITION"
#define NAUTILUS_METADATA_KEY_ICON_SCALE                 "ICON_SCALE"
#define NAUTILUS_METADATA_KEY_CUSTOM_ICON                "CUSTOM_ICON"

/* per link file */

#define NAUTILUS_METADATA_KEY_EXTRA_TEXT		 "EXTRA_TEXT"

#endif /* NAUTILUS_METADATA_H */