2006-02-23 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (bookmarks_drop_uris):
Resolve the dropped uris to their drop target, use the same naming
logic as the bookmark menu and use gnome-fs-directory icon when adding.
If something more fitting is available it will be updated anyway.
Fixes#332235.
2006-02-23 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (bookmarks_edited):
Set the has_custom_name_flag before setting the name - which would
otherwise immediately commit the bookmarks to disk without the name.
Fixes#327744.
2006-02-23 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (bookmarks_popup_menu):
(bookmarks_button_press_event_cb):
Open the popup menu non-modal and pass the button event on to the
tree view. Makes a right click select the item under the cursor
before bringing up the menu. Fixes#329778.
2006-02-21 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_size_as_string_with_real_size):
Add a cast to fix build for platforms where GnomeVFSFileSize
is not defined as long long (e.g. AMD64). Fixes bug #331636.
2006-02-21 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-error-reporting.[ch]:
Add callback to fm_rename_file.
* src/file-manager/fm-icon-view.c:
Pass NULL as above callback
* src/file-manager/fm-list-view.c:
Don't activate file when renaming, delay until rename done.
After rename, scroll to renamed file if not visibile, because it
may have moved.
Above based on initial patch by Nelson Benítez <gnel@cenobioracing.com>
* src/file-manager/fm-list-model.c:
On file change, if file was re-sorted emit rows_reordered.
This fixes bug #326581
2006-02-19 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-mime-actions.c:
(file_compare_by_mime_type), (file_compare_by_guessed_mime_type),
(file_compare_by_uri_scheme),
(nautilus_mime_get_default_application_for_files),
(nautilus_mime_get_open_with_applications_for_files),
(nautilus_mime_get_applications_for_files),
(nautilus_mime_has_any_applications_for_files):
Avoid redundant application lookups by sorting the files by mime type
and skipping the ones which have the same mime type / parent uri
combination as the previous one. Prevents nautilus from blocking for
seconds when selecting many files of similar type.
2006-02-17 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file-operations.c: (get_link_name):
Fall back to locale encoding or force utf8 if the utf8 conversion
of the link target filename fails. (#331379)
2006-02-15 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-properties-window.c (append_extension_pages):
Pass the original files, not the target files to property
page providers. (#329426)
(create_permissions_page):
Make sure we can get permissions from target before showing
permissions page.
2006-02-06 Alexander Larsson <alexl@redhat.com>
* nautilus-folder-handler.desktop.in:
Add application/x-gnome-saved-search to the list of folder types handled
2006-01-31 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-file-management-properties.c:
(nautilus_file_management_properties_dialog_setup):
* src/nautilus-file-management-properties.glade:
Add the option to always use the location bar to the
preferences dialog. Closes#328659.
Patch from Justin Fitzsimmons <jfitzsimmons@gmail.com>
2006-01-31 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-view.h:
* libnautilus-private/nautilus-view.c: (nautilus_view_grab_focus):
Add new grab_focus method.
* src/file-manager/fm-list-view.c: (fm_list_view_grab_focus),
(fm_list_view_iface_init):
Implement grab_focus.
* src/nautilus-window.c: (nautilus_window_set_content_view_widget):
Use grab_focus to set the focus on the content view. Fixes#329087.
Patch from Nelson Benitez <gnel@cenobioracing.com>