Commit graph

4 commits

Author SHA1 Message Date
Gene Z. Ragan
9f9f159ffa Fixed bug 2839, setting icons for mime type is not remembered
2000-09-08  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 2839, setting icons for mime type is not remembered

	* mime-type-capplet/nautilus-mime-type-capplet.c: (main),
	(init_mime_capplet), (nautilus_mime_type_capplet_update_info),
	(populate_mime_list),
	(nautilus_mime_type_capplet_get_selected_item_mime_type):
	Removed icon setting code callback from Change Icon button.

	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	(icon_selected_cb), (cancel_pressed), (gil_icon_selected_cb),
	(nautilus_mime_type_show_icon_selection):
	Added gnome-vfs icon setting code to OK button callback.
2000-09-08 23:58:53 +00:00
Gene Z. Ragan
10171a33d6 Fixed bug 2789, Need to cancel non-file drags in icon entry field.
2000-09-08  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 2789, Need to cancel non-file drags in icon
	entry field.

	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	(drag_data_get):
2000-09-08 16:41:56 +00:00
John Sullivan
41b4f3f1f1 Wrote bugs for the last (for now) 18 unbugged FIXMEs.
* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	(drag_data_get):
	* modules/bzip2-method.c: (do_get_file_info):
	* modules/extfs-method.c:
	* modules/file-method.c: (do_create_symbolic_link):
	* modules/ftp-method.c: (internal_get_file_info):
	* modules/gconf-method.c:
	* modules/gzip-method.c: (do_get_file_info):
	* modules/http-method.c: (process_propfind_propstat):
	* modules/translate-method.c: (tr_apply_default_mime_type),
	(tr_handle_exec), (tr_uri_translate):
	* test/test-shell.c: (do_info):
	* test/test-uri.c: (main):
2000-09-05 16:27:53 +00:00
Gene Z. Ragan
6ebefae27f New API to get and set icon data.
2000-07-14  Gene Z. Ragan  <gzr@eazel.com>

	* libgnomevfs/gnome-vfs-mime-handlers.c:
	* libgnomevfs/gnome-vfs-mime-handlers.h:
	(gnome_vfs_mime_get_icon), (gnome_vfs_mime_set_icon):
	New API to get and set icon data.

	* mime-type-capplet/Makefile.am:
	Added new file
	mime-type-capplet/nautilus-mime-type-icon-entry.c

	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	* mime-type-capplet/nautilus-mime-type-icon-entry.h:
	(nautilus_mime_type_icon_entry_get_type),
	(nautilus_mime_type_icon_entry_class_init), (entry_changed),
	(entry_activated), (setup_preview), (ientry_destroy),
	(browse_clicked), (icon_selected_cb), (cancel_pressed),
	(gil_icon_selected_cb), (nautilus_mime_type_show_icon_selection),
	(drag_data_received), (drag_data_get),
	(nautilus_mime_type_icon_entry_init),
	(nautilus_mime_type_icon_entry_new),
	(nautilus_mime_type_icon_entry_gnome_file_entry),
	(nautilus_mime_type_icon_entry_gnome_entry),
	(nautilus_mime_type_icon_entry_gtk_entry),
	(nautilus_mime_type_icon_entry_set_pixmap_subdir),
	(nautilus_mime_type_icon_entry_set_icon),
	(nautilus_mime_type_icon_entry_get_filename):
	New file.  This is a new verison of GnomeIconEntry.
	I am customizing it to look and bahve in a way that
	is compatible with Arlo's UI reccomendations.

	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(mime_list_selected_row_callback), (icon_changed),
	(change_icon_clicked), (init_mime_capplet),
	(nautilus_mime_type_capplet_update_info), (populate_mime_list):
	More UI cleanups.  Removed GnomeIconEntry and replaced
	with new NautilusMimeTypeIconEntry.
2000-07-15 01:56:53 +00:00