mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
![Alexander Larsson](/assets/img/avatar_default.png)
2003-03-14 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_new): Make NautilusDirectory a GObject. * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-file.c: (nautilus_file_new_from_relative_uri), (nautilus_file_new_from_info): Make NautilusFile a GObject. * libnautilus-private/nautilus-trash-file.c: (trash_callback_remove_file_cover), (trash_finalize), (nautilus_trash_file_class_init): Convert destroy into finalize. * libnautilus-private/nautilus-vfs-directory.h: * libnautilus-private/nautilus-vfs-directory.c: (nautilus_vfs_directory_init), (nautilus_vfs_directory_class_init): * libnautilus-private/nautilus-vfs-file.c: (nautilus_vfs_file_init), (nautilus_vfs_file_class_init): * libnautilus-private/nautilus-vfs-file.h: Remove unused details fields. * src/file-manager/fm-directory-view.c: (disconnect_handler), (disconnect_directory_handler), (disconnect_directory_as_file_handler): * src/file-manager/fm-search-list-view.c: (real_adding_file): Don't cast NautilusFiles and NautilusDirectories to GtkObjects.
55 lines
1.9 KiB
C
55 lines
1.9 KiB
C
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
|
|
|
|
nautilus-vfs-directory.h: Subclass of NautilusDirectory to implement the
|
|
the case of a VFS directory.
|
|
|
|
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@bentspoon.com>
|
|
*/
|
|
|
|
#ifndef NAUTILUS_VFS_DIRECTORY_H
|
|
#define NAUTILUS_VFS_DIRECTORY_H
|
|
|
|
#include <libnautilus-private/nautilus-directory.h>
|
|
|
|
#define NAUTILUS_TYPE_VFS_DIRECTORY \
|
|
(nautilus_vfs_directory_get_type ())
|
|
#define NAUTILUS_VFS_DIRECTORY(obj) \
|
|
(GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_VFS_DIRECTORY, NautilusVFSDirectory))
|
|
#define NAUTILUS_VFS_DIRECTORY_CLASS(klass) \
|
|
(GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_VFS_DIRECTORY, NautilusVFSDirectoryClass))
|
|
#define NAUTILUS_IS_VFS_DIRECTORY(obj) \
|
|
(GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_VFS_DIRECTORY))
|
|
#define NAUTILUS_IS_VFS_DIRECTORY_CLASS(klass) \
|
|
(GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_VFS_DIRECTORY))
|
|
|
|
typedef struct NautilusVFSDirectoryDetails NautilusVFSDirectoryDetails;
|
|
|
|
typedef struct {
|
|
NautilusDirectory parent_slot;
|
|
} NautilusVFSDirectory;
|
|
|
|
typedef struct {
|
|
NautilusDirectoryClass parent_slot;
|
|
} NautilusVFSDirectoryClass;
|
|
|
|
GType nautilus_vfs_directory_get_type (void);
|
|
|
|
#endif /* NAUTILUS_VFS_DIRECTORY_H */
|