* data/linksets/desktop.xml:
* icons/Makefile.am:
* icons/trash.png: [removed]
Changed to use the new trash icon Arlo checked in and removed
the old one.
* components/services/install/idl/.cvsignore:
* components/services/time/idl/.cvsignore:
Ignore some Makefile and Makefile.in files.
* data/linksets/Makefile.am:
* data/linksets/desktop.xml:
Added a link set for the trash on the desktop.
* icons/Makefile.am:
Added a trash icon (actually a copy of the Nautilus icon right
now :-).
* libnautilus-extensions/nautilus-link-set.h:
* libnautilus-extensions/nautilus-link-set.c: (create_new_link),
(nautilus_link_set_install), (nautilus_link_set_remove):
Fixed some URI-related issues and added a special case for the ~
character so we can have link sets that are for the home directory.
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_capitalize): Got rid of the unneeded call to strlen.
strlen == 0 is the slowest way I know to check for an empty string.
Also check islower before calling toupper for paranoia like the
calls in glib do (internally).
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Install the desktop link set when we are created. For now this
installs the trash (in a fairly lame way).
* src/nautilus-property-browser.c: (remove_color),
(add_color_to_file), (make_properties_from_xml_node),
(nautilus_property_browser_update_contents):
Changed code to not reference "childs" directly so it's easy to
switch to a new version of gnome-xml.
* test/.cvsignore: Ignore test-nautilus-mime-actions-set.
made linksets actually work.
fixed audio previewing for filename with special characters
made links work for filenames with special characters
added some icons for the default link set
fixed problem where sounds with special characters in their filename
wouldn't preview properly; also, replace the computer link icon with
a more generic, vector-based one and upgraded the open folder to
one with gradients
first checkin for link sets, which are incomplete and not hooked
up yet. Also, added a title to the property browser and improved
the default color choices to one's specified by Susan.
* 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.
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.
* 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.
* 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.
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).
* 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.