nautilus-saved-search-file.c 1.45 KB
Newer Older
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
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-

   nautilus-saved-search-file.h: Subclass of NautilusVFSFile to implement the
   the case of a Saved Search file.
 
   Copyright (C) 2005 Red Hat, 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: Alexander Larsson
*/
#include <config.h>
#include "nautilus-saved-search-file.h"
Alexander Larsson's avatar
Alexander Larsson committed
27
#include "nautilus-file-private.h"
28

Alexander Larsson's avatar
Alexander Larsson committed
29
G_DEFINE_TYPE(NautilusSavedSearchFile, nautilus_saved_search_file, NAUTILUS_TYPE_VFS_FILE)
30 31 32


static void
Alexander Larsson's avatar
Alexander Larsson committed
33
nautilus_saved_search_file_init (NautilusSavedSearchFile *search_file)
34 35 36 37
{
}

static void
Alexander Larsson's avatar
Alexander Larsson committed
38
nautilus_saved_search_file_class_init (NautilusSavedSearchFileClass * klass)
39 40 41 42 43
{
	NautilusFileClass *file_class;

	file_class = NAUTILUS_FILE_CLASS (klass);

Alexander Larsson's avatar
Alexander Larsson committed
44
	file_class->default_file_type = G_FILE_TYPE_DIRECTORY;
45 46
}