summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-file-private.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-03-08 21:16:21 +0000
committerDarin Adler <darin@src.gnome.org>2000-03-08 21:16:21 +0000
commit6ba4e1e5e3adce6604d0d09563c99923bc9cc97a (patch)
tree2f253460141e3b059b81134004e932a410d6c23b /libnautilus-private/nautilus-file-private.h
parent886358c4f74f0843ee5d235218e0745c3ea2a64a (diff)
downloadnautilus-6ba4e1e5e3adce6604d0d09563c99923bc9cc97a.tar.gz
Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch].
* components/music/nautilus-music-view.c, components/notes/ntl-notes.c, libnautilus/Makefile.am, libnautilus/nautilus-directory-private.h, libnautilus/nautilus-directory.h, libnautilus/nautilus-directory.c, libnautilus/nautilus-file-private.h, libnautilus/nautilus-file.h, libnautilus/nautilus-file.c, libnautilus/nautilus-icon-factory.h, src/ntl-index-panel.c, src/file-manager/fm-directory-view.h: Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch]. * libnautilus/nautilus-string.c (nautilus_strstrip): Added more tests. Changed algorithm on strstrip so it's linear instead of n^2. * libnautilus/gnome-icon-container.c (gnome_icon_container_initialize): Fixed font for "larger" zoom level. Also made it assert if the font can't be loaded. * components/help/hyperbola-nav-index.c (despace): Fixed warning. * libnautilus/gnome-icon-container-dnd.c, libnautilus/nautilus-string.h: Whitespace. * src/file-manager/Makefile.am, src/file-manager/fm-directory-view.c, src/file-manager/fm-properties-window.h, src/file-manager/fm-properties-window.c: Added properties window hook, but no window yet. The menu item still needs to be added to the main menus as well as the context menus. * src/file-manager/fm-directory-view.c, src/file-manager/fm-directory-view-icons.c, src/file-manager/fm-icon-text-window.h, src/file-manager/fm-icon-text-window.c: A little cleanup. Shorter names.
Diffstat (limited to 'libnautilus-private/nautilus-file-private.h')
-rw-r--r--libnautilus-private/nautilus-file-private.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file-private.h b/libnautilus-private/nautilus-file-private.h
new file mode 100644
index 000000000..7ee311c9b
--- /dev/null
+++ b/libnautilus-private/nautilus-file-private.h
@@ -0,0 +1,37 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
+
+ nautilus-directory.c: Nautilus directory model.
+
+ Copyright (C) 1999, 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>
+*/
+
+#include "nautilus-file.h"
+#include "nautilus-directory.h"
+
+struct NautilusFile
+{
+ guint ref_count;
+
+ NautilusDirectory *directory;
+ GnomeVFSFileInfo *info;
+ gboolean is_gone;
+};
+
+void nautilus_file_free (NautilusFile *);