2000-06-14 02:14:20 +00:00
|
|
|
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
|
|
|
|
/* nautilus-mime-type-capplet.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000 Free Software Foundaton
|
|
|
|
* 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: Gene Z. Ragan <gzr@eazel.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NAUTILUS_MIME_TYPE_CAPPLET_H
|
|
|
|
#define NAUTILUS_MIME_TYPE_CAPPLET_H
|
|
|
|
|
File Types and Programs capplet work in progress.
2000-06-17 Gene Z. Ragan <gzr@eazel.com>
File Types and Programs capplet work in progress.
* mime-type-capplet/mime-info.c:
* mime-type-capplet/mime-info.h:
Removed obsolete files from capplet.
* mime-type-capplet/Makefile.am:
Remove above files form makefile.
* libgnomevfs/gnome-vfs-mime-info.c:
* libgnomevfs/gnome-vfs-mime-info.h:
(list_context_new), (context_destroy_and_unlink),
(load_mime_type_info_from),
(load_mime_list_info_from), (mime_list_load),
(load_mime_type_info), (gnome_vfs_mime_init),
(gnome_vfs_mime_info_clear), (gnome_vfs_mime_info_shutdown),
(get_key_name), (gnome_vfs_get_registered_mime_types):
Various fixes and modifications. Fixed a bug in the
mime key database parser that caused comments to be
read in incorrectly.
* mime-type-capplet/mime-data.c:
(add_to_key), (add_mime_vals_to_clist),
(add_new_mime_type), (add_new_mime_type),
(write_mime_foreach):
Capplet work in progress.
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
(nautilus_mime_type_capplet_show_new_mime_window):
Capplet work in progress.
* mime-type-capplet/nautilus-mime-type-capplet.c:
* mime-type-capplet/nautilus-mime-type-capplet.h:
(main), (g_list_free_deep), (try_callback), (revert_callback),
(ok_callback), (cancel_callback), (populate_extension_list),
(mime_list_selected_row_callback), (init_mime_capplet),
(nautilus_mime_type_capplet_update_info), (delete_mime_clicked),
(edit_applications_clicked), (edit_components_clicked),
(insert_mime_vals_into_clist), (create_mime_list_and_scroller):
Capplet work in progress.
2000-06-17 07:58:12 +00:00
|
|
|
void nautilus_mime_type_capplet_update_info (const char *mime_type);
|
Work in progress on the FIle Types and Programs Capplet Removed obsolete
2000-06-15 Gene Z. Ragan <gzr@eazel.com>
Work in progress on the FIle Types and Programs Capplet
* mime-type-capplet/Makefile.am:
Removed obsolete files form build.
* mime-type-capplet/edit-window.c:
* mime-type-capplet/edit-window.h:
Obsolete. Removed.
* mime-type-capplet/new-mime-window.c:
* mime-type-capplet/new-mime-window.h:
Obsolete. Removed.
* mime-type-capplet/mime-data.c: (add_mime_vals_to_clist),
(selected_row_callback):
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.h:
(edit_applications_dialog_destroy), (application_is_in_list),
(application_button_toggled_callback),
(populate_default_applications_box),
(populate_default_components_box),
(initialize_edit_applications_dialog),
(show_edit_applications_dialog), (show_edit_components_dialog),
(nautilus_mime_type_capplet_show_new_mime_window),
(nautilus_mime_type_capplet_show_new_extension_window):
* mime-type-capplet/nautilus-mime-type-capplet.c:
* mime-type-capplet/nautilus-mime-type-capplet.h:
(revert_callback), (populate_extension_list),
(nautilus_mime_type_capplet_add_extension),
(add_extension_clicked), (remove_extension),
(extension_list_selected), (extension_list_deselected),
(init_mime_capplet), (nautilus_mime_type_capplet_update_info),
(add_mime_clicked), (edit_components_clicked),
(nautilus_mime_type_capplet_update_application_info),
(nautilus_mime_type_capplet_update_component_info):
2000-06-15 23:32:08 +00:00
|
|
|
void nautilus_mime_type_capplet_update_application_info (const char *mime_type);
|
|
|
|
void nautilus_mime_type_capplet_update_component_info (const char *mime_type);
|
|
|
|
void nautilus_mime_type_capplet_add_extension (const char *extension);
|
|
|
|
|
2000-06-14 02:14:20 +00:00
|
|
|
|
|
|
|
#endif /* NAUTILUS_MIME_TYPE_CAPPLET_H */
|