mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-21 08:42:01 +00:00
67654abd48
* components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-node.c: (nautilus_tree_node_get_parent), (nautilus_tree_node_get_children), (nautilus_tree_node_get_file), (nautilus_tree_node_get_directory), (nautilus_tree_node_set_user_data), (nautilus_tree_node_get_user_data): * components/tree/nautilus-tree-node.h: Some work in progress on some model/view separation for the tree view. * libnautilus-extensions/nautilus-file-attributes.h, libnautilus-extensions/nautilus-directory-async.c (set_up_request_by_file_attributes): Added an "is directory" attribute which you can use in a file attribute list for a monitor or call_when_ready request, which insures we get that piece of info about files. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_real_name, nautilus_file_get_real_directory): Add necessary decoding for the search case. * src/file-manager/fm-search-list-view.c (get_attribute_from_column): Get the directory attribute for the directroy column.
43 lines
1.6 KiB
C
43 lines
1.6 KiB
C
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
|
|
|
|
nautilus-file-attributes.h: #defines and other file-attribute-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: Darin Adler <darin@eazel.com>
|
|
*/
|
|
|
|
#ifndef NAUTILUS_FILE_ATTRIBUTES_H
|
|
#define NAUTILUS_FILE_ATTRIBUTES_H
|
|
|
|
/* Names for NautilusFile attributes. These are used when registering interest
|
|
* in changes to the attributes.
|
|
*/
|
|
|
|
#define NAUTILUS_FILE_ATTRIBUTE_ACTIVATION_URI "activation URI"
|
|
#define NAUTILUS_FILE_ATTRIBUTE_CUSTOM_ICON "custom icon"
|
|
#define NAUTILUS_FILE_ATTRIBUTE_DEEP_COUNTS "deep counts"
|
|
#define NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_COUNT "directory item count"
|
|
#define NAUTILUS_FILE_ATTRIBUTE_FAST_MIME_TYPE "MIME type"
|
|
#define NAUTILUS_FILE_ATTRIBUTE_TOP_LEFT_TEXT "top left text"
|
|
#define NAUTILUS_FILE_ATTRIBUTE_IS_DIRECTORY "is directory"
|
|
|
|
#endif /* NAUTILUS_FILE_ATTRIBUTES_H */
|
|
|
|
|