Commit graph

169 commits

Author SHA1 Message Date
Andy Hertzfeld 41b7f28c0d added the ability to drop emblems from the property browser onto icons in
added the ability to drop emblems from the property browser onto
       icons in the icon view; also, added a new background tile
2000-05-05 01:02:37 +00:00
Andy Hertzfeld d2b30c891d made the index panel display emblems. Made dropping emblems on the index
made the index panel display emblems.  Made dropping emblems on the
	index panel work. Also, added new background image
2000-05-03 08:36:13 +00:00
Andy Hertzfeld f81dc0d45c 1st cut at the property browser for drag and drop customization
1st cut at the property browser for drag and drop customization
2000-05-03 01:11:00 +00:00
John Sullivan 225e67f12b data/mime/.cvsignore, , Removed files. Nautilus doesn't need to install
* data/mime/.cvsignore,
	* data/mime/Makefile.am:,
	* data/mime/nautilus.keys: Removed files. Nautilus
	doesn't need to install the human-readable MIME
	descriptions any more because gnome-vfs does it.

	* configure.in,
	* data/Makefile.am: Removed build system fu that
	was installing nautilus.keys.
2000-05-02 17:47:44 +00:00
John Sullivan 6b1364e60f Fixed bug 575 (Make Nautilus use gnome-vfs-mime)
Converted all the (few) places where Nautilus code was
	using the old gnome-libs MIME API to use the new gnome-vfs
	MIME API.

	* components/help/help-method.c (convert_file_to_uri):
	Use gnome_vfs_mime_type_of_file. This function should
	probably use NautilusFile rather than calling the MIME
	stuff directly, but I just couldn't get distracted into
	trying to improve it.

	* libnautilus-extensions/nautilus-file.c
	(nautilus_file_get_type_as_string):
	Use gnome_vfs_mime_description.
	* libnautilus-extensions/nautilus-icon-factory.c
	(nautilus_icon_factory_get_icon_name_for_regular_file):
	Use gnome_vfs_mime_get_value.


	* data/mime/nautilus.keys: Added a translation for
	"special/symlink" because it now starts showing up when
	using ftp:// locations. Perhaps we need to fix something
	in ftp also.
2000-05-01 23:36:57 +00:00
Andy Hertzfeld 550ad27236 added a HTML based "About Nautilus" to the novice home directory
added a HTML based "About Nautilus" to the novice home directory
2000-04-27 07:16:49 +00:00
John Sullivan 86e64a0269 Added one more missing MIME type (application/x-dia-diagram) reported by user. 2000-04-26 00:59:04 +00:00
John Sullivan 1a80b273d6 data/mime/nautilus.keys
* data/mime/nautilus.keys

	Removed [en_US] from file-type human-readable descriptions.
	Added text explaining how to add a localized description.
	This fixes problem where if your language variable isn't
	set you get raw MIME types instead of human-readable descriptions.
2000-04-26 00:57:10 +00:00
Andy Hertzfeld f06f9edff4 added new hardware view component, plus renamed link files
added new hardware view component, plus renamed link files
2000-04-24 09:05:21 +00:00
Andy Hertzfeld 638912544a made nautilus link files control the additional text displayed under their
made nautilus link files control the additional text displayed
       under their name.
2000-04-19 06:39:19 +00:00
Andy Hertzfeld 9f1eccb99b better abstraction for new, xml-based link files, plus added some objects
better abstraction for new, xml-based link files, plus added
       some objects for the novice home directory
2000-04-18 20:53:19 +00:00
Andy Hertzfeld 58617d69be made clicking on gmc-style URL files redirect to the URL they reference.
made clicking on gmc-style URL files redirect to the URL they reference.
	Also, removed absolute paths to icon references in
	data/mime/nautilus.keys.
2000-04-17 22:21:10 +00:00
John Sullivan c4002e6e15 Fixed bugs, mostly related to editable text fields.
* README: Made the contents of this file slightly helpful.

	* data/mime/nautilus.keys: Added an obscure MIME type that
	someone reported running into.

	* libnautilus-extensions/nautilus-entry.h,
	* libnautilus-extensions/nautilus-entry.c: New files. Define a
	subclass of GtkEntry (one-line text editing field) that fixes
	bugs and adds convenience functions.
	(nautilus_entry_key_press): Override key_press handler to treat
	the keypad Enter key the same as the other Enter key (in GtkEntry
	it inserts a "/r" into the text).
	(nautilus_entry_select_all): Select all text, and move the text
	cursor position to the end.
	(nautilus_entry_select_all_at_idle): Same, but do it at the next
	idle opportunity. Useful since nautilus_entry_select_all won't
	work right if called in a key_press signal handler.
	* libnautilus-extensions/Makefile.am: Build these two new files.

	* src/file-manager/fm-properties-window.c:
	(name_field_activate): New function, updates file name and
	selects all text.
	(create_properties_window): Make name_field be a NautilusEntry.
	This fixes half of bug 433 (Enter keys don't work properly in
	properties window). Also attach to "activate" signal and update
	name change then. This fixes other half of bug 433. Also start
	with name field selected & focused. This fixes bug 432 (properties
	window should appear with name text selected).
	(name_field_update_to_match_file): Only update the displayed text
	if the new name coming in is different. This was needed to make
	select-all-on-activate work.
	(name_field_done_editing): Don't accept empty string as name;
	silently revert back to original name.

	* src/nautilus-bookmarks-window.c:
	(create_bookmarks_window): Change name & uri text fields to
	NautilusEntry; this causes keypad Enter key to behave like other
	Enter key. Also connect to focus_in and activate signals.
	(update_bookmark_from_text): New function, extracted from
	on_text_field_focus_out_event.
	(on_text_field_focus_out_event): Deselect all text after updating
	bookmark.
	(on_text_field_focus_in_event): New function, select all text.
	(name_or_uri_field_activate): New function, update bookmark and
	select all text.

	* src/nautilus-location-bar.c:
	(nautilus_location_bar_initialize): Use NautilusEntry instead of
	GtkEntry. This makes keypad Enter act like other Enter in uri-entry
	field.

	* src/ntl-window-msgs.c:
	(nautilus_window_end_location_change_callback): Make "Nautilus can't
	handle this type of file" message mention (human-readable version of)
	file type.
2000-04-17 18:25:56 +00:00
Andy Hertzfeld 1ca4a4ba41 installed some icons for common file types
installed some icons for common file types
2000-04-16 04:38:51 +00:00
John Sullivan aa8fdf8b69 Prefixed all the MIME type descriptions with [en_US], so they can be localized. 2000-04-12 21:18:15 +00:00
John Sullivan e8013d5c0b Added a bunch more MIME type descriptions. 2000-04-12 21:08:23 +00:00
Darin Adler d140e4fc8d Ignore the Makefile and Makefile.in generated files. 2000-04-12 16:15:08 +00:00
John Sullivan f96591d2e3 Addressed most of task 148 (Better type-as-string for
directory views). Added new directory to CVS, so make
	sure you do a "cvs update -d" and not just "cvs update".

	"make install" now installs a file of mime-type-to-English
	descriptions in the gnome-mime directory.

	* data/mime/nautilus.keys: The actual mapping between
	MIME types and English descriptions. Read these and send
	me your abuse.
	* data/mime/Makefile.am: New file, copies nautilus.keys to
	gnome-mime directory.
	* data/Makefile.am: includes "mime" subdirectory
	* configure.in: configures "data/mime" directory

	* libnautilus/nautilus-file.c:
	(nautilus_file_get_mime_type_as_string_attribute):
	New function, returns the raw MIME type as a string,
	and handles the no-MIME-type case.
	(nautilus_file_get_string_attribute): handle attribute
	"mime_type", distinct from "type" which is now the
	human-language one.
	(nautilus_file_get_type_as_string): Use gnome-mime
	to get human-language descriptions based on the MIME
	type.
	(nautilus_file_is_executable): Fixed this function which
	was reading info->flags instead of info->permissions. Now
	the special executable icon appears much more often (though
	we still don't know what it's supposed to be).
	* src/file-manager/fm-error-reporting.c:
	(fm_report_error_renaming_file): Use "directory" instead of
	"folder" to match our terminology elsewhere.
	* src/file-manager/fm-icon-text-window.c:
	add "mime type" to list of choices of text that can appear
	beneath icons (in addition to just plain "type", which is
	the human-language one).
2000-04-12 00:05:23 +00:00
Ramiro Estrugo 636bcb29bc Add a data directory to the tree. This is the default per-user data that
* data/.cvsignore,
data/Makefile.am:
Add a data directory to the tree.  This is the default per-user
data that nautilus installs the first time it runs.

*data/top/.cvsignore,
data/top/Makefile.am,
data/top/Welcome:
Add a top directory to the tree.  The top directory is an
alternative home place for novice users.

*configure.in,
Makefile.am:
Grok the above.
2000-03-12 17:06:37 +00:00