diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-01-30 21:45:17 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-01-30 21:45:17 +0000 |
commit | 74e70dc7e52bf6d284e5f0684bd92fa04ef38114 (patch) | |
tree | e9c76dc756330621b6ebb6cfbe78241ceed73323 /libnautilus | |
parent | d1404606ee58952a7be8afab8df9e5e98e63a6c5 (diff) | |
download | nautilus-74e70dc7e52bf6d284e5f0684bd92fa04ef38114.tar.gz |
Put #defines for all metadata keys into new central location.
Diffstat (limited to 'libnautilus')
-rw-r--r-- | libnautilus/Makefile.am | 1 | ||||
-rw-r--r-- | libnautilus/nautilus-metadata.h | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/libnautilus/Makefile.am b/libnautilus/Makefile.am index c7cb0a5c3..747cf8b35 100644 --- a/libnautilus/Makefile.am +++ b/libnautilus/Makefile.am @@ -41,6 +41,7 @@ libnautilusinclude_HEADERS= \ nautilus-icons-controller.h \ nautilus-icons-view-icon-item.h \ nautilus-lib-self-check-functions.h \ + nautilus-metadata.h \ nautilus-self-checks.h \ nautilus-string.h \ ntl-content-view-frame.h \ diff --git a/libnautilus/nautilus-metadata.h b/libnautilus/nautilus-metadata.h new file mode 100644 index 000000000..4e353f61e --- /dev/null +++ b/libnautilus/nautilus-metadata.h @@ -0,0 +1,40 @@ +/* -*- 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. + */ + +#define ICON_VIEW_BACKGROUND_COLOR_METADATA_KEY "ICON_VIEW_BACKGROUND_COLOR" +#define ICON_VIEW_ICON_POSITION_METADATA_KEY "ICON_POSITION" + +#define LIST_VIEW_BACKGROUND_COLOR_METADATA_KEY "LIST_VIEW_BACKGROUND_COLOR" + +#define INDEX_PANEL_BACKGROUND_COLOR_METADATA_KEY "INDEX_PANEL_BACKGROUND_COLOR" + + +#endif /* NAUTILUS_METADATA_H */ |