2006-11-07 Alexander Larsson <alexl@redhat.com>
* NEWS:
Update for release
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-directory.c:
Unschedule call_ready callbacks on directory finalize, not
on file finalize.
Keep monitors around until we call the call_when_ready callback
at idle time.
Call async_state_changed and update_metadata_monitors after
call_when_ready callbacks have been called at idle.
(fixes make check)
2006-11-07 Alexander Larsson <alexl@redhat.com>
* src/nautilus-application.c:
* src/nautilus-shell.c:
* src/nautilus-main.[ch]:
Make the session restart work again (from 2006-11-03 change)
Make the session not restart nautilus on --quit
2006-11-06 Federico Mena Quintero <federico@novell.com>
http://bugzilla.gnome.org/show_bug.cgi?id=330298
Fix the use of lazy positioning, and the saving of metadata for
lazily-positioned icons. Fixes
https://bugzilla.novell.com/show_bug.cgi?id=155337 and
https://bugzilla.novell.com/show_bug.cgi?id=174766.
* src/file-manager/fm-icon-view.c (file_has_lazy_position): Only
desktop icon files (not "real" files) have lazy positions. Don't
consider whether the directory is loading; this is not the right
place to check that.
(fm_icon_view_begin_loading): Tell the icon container that we
just started reloading.
(fm_icon_view_end_loading): Tell the icon container that we
finished loading.
* libnautilus-private/nautilus-icon-private.h
(NautilusIconContainerDetails): New flag "is_reloading".
* libnautilus-private/nautilus-icon-container.h: New prototype for
nautilus_icon_container_set_is_reloading().
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_set_is_reloading): New function; sets an
is_reloading flag in the icon container.
(icon_set_position): Clear icon->has_lazy_position, since the icon
will be well-positioned once this function exits.
(finish_adding_new_icons): Do not ignore already-placed lazy
position icons when filling the placement grid! Save the value of
icon->has_lazy_position before calling assign_icon_position().
Since that function may call icon_set_position() (which will clear
the flag), we need to keep the original value of the flag.
(finish_adding_new_icons): Don't clear icon->has_lazy_position
here; let icon_set_position() do it.
(finish_adding_new_icons): Emit the icon_position_changed signal
so that the parent knows that we moved an icon under it. This has
the effect of updating/preserving the position metadata for
has_lazy_position icons.
2006-11-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
Cancel rubberbanding if we get a grab shadow event.
This happens when a modal dialog (e.g. an error or auth dialog)
appears. (Partially fixes#122688)
2006-11-06 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-icon-view.c (play_file):
Don't close handle and free buffer twice on error. (#321175)
2006-11-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri):
Don't crash on old desktop dir and search dir uris. (#349840)
2006-11-03 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-metafile.c:
Always use the in-process metafile factory. We don't need it
oop, since nautilus is single process these days. This fixes
some strange races with bonobo-activation that caused #351713
* src/nautilus-application.[ch]:
* src/nautilus-shell.h:
Change the way we use bonobo-activation to get the NautilusShell
so that we don't rely on bonobo-activation-server to spawn nautilus,
as this could lead to some strange duplicate processes.
We now directly try to register the app-wide shell object with
bonobo-activation manually and activate it with
Bonobo_ACTIVATION_FLAG_EXISTING_ONLY.
* src/nautilus-shell.c:
Handle all corba calls from the NautilusShell in an idle handler.
This fixes some crashes where we reentered badly into e.g. quit
when calling gconf.
* src/nautilus-main.c:
Since we now handle the initial open_window shell calls via an idle
we need to delay until idle time to know if we can quit or not.
2006-11-02 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-directory-async.c:
Call all call_when_ready callbacks from an idle handler.
This fixes problems with reentrancy, like bug #348161
2006-11-01 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-tree-model.c:
Always emit the row-deleted signal before deleting the row
from the model. This is according to the GtkTreeModel::row-changed
docs and feedback from kris.
Hopefully this will fix bug #356672
2006-10-31 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-icon-view.c (fm_icon_view_remove_file):
Remove assert that keep randomly failing to fix crash (#352592)
Replace it with some debug output that hopefully lets us
track down the cause.
2006-10-30 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-property-browser.c: (remove_color),
(nautilus_property_browser_remove_element),
(element_clicked_callback), (make_properties_from_xml_node):
Remove colors by really removing them from browser.xml,
not marking them deleted. That made it impossible to add
another color with the same name later on.
Also delete colors by their (unique) names and not their color
values. That made it possible to delete built-in colors.
Fixes#358893.
Based on a patch from Emil Soleyman-Zomalan
2006-10-30 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-properties-window.c:
(attach_value_field_internal), (attach_value_field),
(attach_ellipsizing_value_field), (append_title_value_pair),
(append_title_and_ellipsizing_value),
(append_directory_contents_fields), (add_permissions_combo_box),
(create_simple_permissions), (create_advanced_permissions):
Set up proper relationships between labels and widgets in the
properties dialog. Fixes#363116.
Patch from Padraig O'Briain <padraig.obriain@sun.com>
2006-10-19 Federico Mena Quintero <federico@novell.com>
* test/file-torture.py: New file with a little torture test. It
does a bunch of file operations on a directory. Nautilus
sometimes crashes when viewing that directory, so this should help
us find bugs.
2006-10-19 Christian Neumair <chris@gnome-de.org>
* src/file-manager/fm-directory-view.c:
(convert_file_list_to_string):
Don't append final newline for textual URIs.
Fixes#360441.
2006-10-19 Christian Neumair <chris@gnome-de.org>
* src/file-manager/fm-directory-view.c: (fm_directory_view_destroy):
Only deregister "ignore hidden file preferences" callback if it has
been initialized before.
2006-10-18 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-list-view.c:
Share target list for all instances (#357573)
* src/nautilus-location-bar.c: (style_set_handler):
Don't leak layout (#352693)
* src/nautilus-zoom-control.c:
Fix O(n^2) use of list (#357589)
All patches from paolo borelli.
2006-10-18 Alexander Larsson <alexl@redhat.com>
* src/Makefile.am:
* src/ephy-spinner.[ch]:
* src/nautilus-throbber.[ch]:
Import ephy spinner and use ad throbber.
This supports different icon sizes.
* src/nautilus-window-toolbars.c:
Change throbber size when toolbar size changes.
2006-10-18 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_search_scroll_event):
Renew typeahead timeout when you scroll between typeahead hits with the
mouse wheel. (#354042)
Patch from Nelson Benitez
2006-10-18 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-list-model.c (change_dummy_row_callback):
The row might have disappeared if it was removed since the
timeout was scheduled. Protect against this. (#336051)
2006-10-18 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-private.h:
Add is_added flag to NautilusFile to make sure we always
send an added event to directory monitors.
* libnautilus-private/nautilus-directory-async.c:
(dequeue_pending_idle_callback):
Don't add the file to both added and changed list
If the file exist but hasn't been added yet, add it.
* libnautilus-private/nautilus-directory.c: (is_tentative):
Don't return non-added files for get_file_list to avoid duplicating
files if you do a list and then track adds.
Partially fixes#336051.
2006-10-17 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c (get_info_callback,
dequeue_pending_idle_callback):
Call nautilus_file_mark_gone instead of directly setting is_gone, as
this allows us to clean up the symlink hash.
* libnautilus-private/nautilus-file.c (nautilus_file_mark_gone):
Allow multiple mark_gone. Just ignore any but the first.
2006-10-17 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory.c
(emit_change_signals_for_all_files):
Ref all files when emitting change signals. This is
an unverified possible fix for #343488, but it
can't possibly be bad to do this, so i'm
commiting it.
2006-10-17 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-program-choosing.c (nautilus_launch_show_file):
Don't cause critical if slow mimetype not loaded.
I was able to get that with a circular symlink.
In that case a fast mimetype should be ok.
2006-10-02 Alexander Larsson <alexl@redhat.com>
* src/nautilus-navigation-window.c (search_bar_activate_callback):
In non-indexed mode, start at current dir.
2006-09-27 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-directory.c:
* libnautilus-private/nautilus-directory.h:
* libnautilus-private/nautilus-directory-private.h:
Add is_in_trash_state to NautilusDirectoryDetails.
Also add nautilus_directory_is_in_trash which works
like nautilus_directory_is_local.
* libnautilus-private/nautilus-file.c:
Proxy nautilus_file_is_in_trash to
nautilus_directory_is_in_trash, similar to
nautilus_file_is_local.
2006-09-13 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c:
Don't use the same type name for the shortcut model filter as
GtkFileChooser to avoid name clashes. Fixes#355242.
Patch from Stephen Cook <siti@orcon.net.nz>
2006-08-25 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-list-view.c:
Handle enter activation when using typeahead search (#334928)
Patch from Nelson Benitez
2006-08-21 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-properties-window.c:
Don't crash when quickly changing user or group.
Patch from Christian Neumair
2006-08-15 Federico Mena Quintero <federico@novell.com>
* src/nautilus-main.c (main): Call setlocale() before we try to
obtain any translations. Fixes bug #342147. Patch by Stanislav
Brabec <sbrabec@suse.cz>.
2006-08-08 Vincent Untz <vuntz@gnome.org>
Use GTK+ to handle recent documents.
* configure.in: require GTK+ 2.10
* cut-n-paste-code/libegg/Makefile.am:
* cut-n-paste-code/libegg/egg-recent-*: kill
* libnautilus-private/nautilus-recent.[ch]: (nautilus_recent_get_model):
renamed to nautilus_recent_get_manager()
(nautilus_recent_add_uri): new, to make it easier to use
gtk_recent_manager_add_full()
* src/file-manager/fm-directory-view.c:
(fm_directory_view_launch_application): use nautilus_recent_add_uri()
instead of old egg code
(activate_callback): ditto
2006-08-08 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-background.c:
Do background change comparison in eel instead (#349961)
Patch from Matthias Clasen
2006-08-08 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
Fix down when in the rightmost column in the next to last row (#316117)
Based on patch from Nelson Benitez
2006-08-08 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c:
Handle desktop drops from panel. (#347673)
Patch from Christian Neumair
2006-08-04 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Revert patch from #336051
as it breaks the file update machinery. Fixes#348097.
2006-07-25 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (nautilus_file_get_selinux_context):
Translate the selinux context from raw form when displayin.
2006-07-25 Alexander Larsson <alexl@redhat.com>
* cut-n-paste-code/gsequence/gsequence.[ch]:
Import the latest EggSequence which supposedly fixes a
bunch of bugs.
* src/file-manager/fm-list-model.c:
Fix to use new function names of EggSequence
2006-07-25 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-main.c: (main):
Unref GnomeProgram at the end. (#348429)
Patch from Christian Persch <chpe@gnome.org>
2006-07-25 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-file-management-properties.c:
(nautilus_file_management_properties_dialog_setup):
* src/nautilus-file-management-properties.glade:
Remove the "always use text-entry location bar" checkbox from the
preferences page.
* src/nautilus-navigation-window.[ch]: (location_button_create),
(nautilus_navigation_window_instance_init),
(nautilus_navigation_window_destroy):
Add a tooltip to the new location bar toggle button.
2006-07-25 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-properties-window.c:
(permission_combo_update): Add a translator comment for
permission combo box labels. (#347764)
Patch from Hendrik Richter <hendi@gnome-de.org>
2006-07-25 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-window-private.h (NautilusNavigationWindowDetails):
Add a location_button field.
* src/nautilus-navigation-window.c
(nautilus_navigation_window_instance_init): Create the
location_button.
(location_button_toggled_cb): New callback. Changes the
preference for toggling between the path bar and the location bar.
(always_use_location_entry_changed): Toggle the button as
appropriate.
Add a button to the location bar to toggle betwen the path bar
and a location entry. (#347991)
Patch from Federico Mena Quintero <federico@novell.com>
2006-07-25 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-icon-factory.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-tree-view.c: (create_popup_menu):
* src/nautilus-window-menus.c:
Use trash icons from the icon naming specification for trash
related operations. (#340321)
Patch from Rodney Dawes <dobey@novell.com>
2006-07-25 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (add_place), (update_places):
Take the sidebar as parameter and refilter it after adding.
(reorder_bookmarks): Implement reordering of bookmarks.
(drag_data_delete_callback), (drag_data_received_callback),
(drag_motion_callback): Handle dragging of tree rows.
(nautilus_places_sidebar_init)
(_shortcuts_model_filter_class_init),
(_shortcuts_model_filter_init),
(shortcuts_model_filter_row_draggable),
(shortcuts_model_filter_drag_data_get),
(shortcuts_model_filter_drag_source_iface_init),
(shortcuts_model_filter_new):
Implement GtkTreeDragSource.
(get_selected_iter), (bookmarks_check_popup_sensitivity),
(loading_uri_callback): Use the filter model.
Enable reordering of bookmarks in the places sidebar via
Drag'n'Drop. (#319022)
Patch from Xavier Claessens <xclaesse@gmail.com>
2006-07-24 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-search-engine-beagle.c:
(nautilus_search_engine_beagle_new): Check whether daemon is
running as beagle_client_new doesn't fail when a stale socket
file exists.
Patch from Jürg Billeter <j@bitron.ch>
2006-07-24 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
* libnautilus-extension/Makefile.am:
Add extension versioning infrastructure and add nautilus-menu.[ch].
* libnautilus-extension/nautilus-menu-item.[ch]:
Add and handle a 'menu' property and add a function
nautilus_menu_item_set_submenu.
* libnautilus-extension/nautilus-menu.[ch]:
New files implementing a submenu item.
* src/file-manager/fm-directory-view.c: (add_extension_menu_items),
(reset_extension_actions_menu):
Add extension menu items recursively.
* libnautilus-extension/nautilus-menu-provider.h:
Update include.
Extend extension API to support submenus. (#314579)
Patch from Raffaele Sandrini <rasa@gmx.ch>
2006-07-11 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Never add a file to both
the added_files and changed_files lists. Don't ref an existing
file without adding it to the changed_file list. (#336051)
Patch from Christian Neumair <chris@gnome-de.org>
2006-07-11 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file-dnd.[ch]:
Add functions nautilus_drag_can_accept_files and
nautilus_drag_can_accept_info.
* libnautilus-private/nautilus-icon-dnd.c: (receive_dropped_url),
(receive_dropped_uri_list), (receive_dropped_text),
(drag_data_received_callback):
Accept the entire drag context as parameter and use
nautilus_icon_container_find_drop_target.
(nautilus_icon_container_find_drop_target):
(nautilus_icon_dnd_update_drop_target):
Use nautilus_drag_can_accept_info.
* libnautilus-private/nautilus-marshal.list:
Add new signature.
* libnautilus-private/nautilus-tree-view-drag-dest.c:
Add function get_drop_target_uri_at_pos and use it in the drop
handlers to determine the target uris for actions.
Rename get_drop_target to get_drop_target_uri_for path.
(nautilus_tree_view_drag_dest_class_init):
Adapt to new drag handler signatures.
(set_widget_highlight):
Fix DND highlighting of an empty tree view.
(drag_motion_callback):
Ignore drags on the header.
* libnautilus-private/nautilus-tree-view-drag-dest.[ch]:
* libnautilus-private/nautilus-icon-container.[ch]:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c:
Add a target/parent uri parameter to the drop handler functions.
* src/file-manager/fm-directory-view.[ch]:
Add handling for the additional target parameter to support
drops of URIs, URLs and text to subfolders.
Patch from Christian Neumair <chris@gnome-de.org>
2006-07-08 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-file-utilities.h:
Add nautilus_find_existing_uri_in_hierarchy.
Remove undefined in_gnome_path helper declarations.
* src/nautilus-pathbar.c:
* src/nautilus-pathbar.h:
Make nautilus_path_bar_clear_buttons public.
* src/nautilus-window-manage-views.c: (viewed_file_changed_callback):
If the displayed location was removed, and it has an existing parent,
navigate window to this parent. Fixes#336724.
2006-07-06 William Jon McCann <mccann@jhu.edu>
* libnautilus-private/nautilus-icon-factory.c:
(get_special_icon_for_file):
* src/nautilus-window-menus.c:
Use nautilus-cd-burner icon instead of gnome-dev-cdrom
for burn:///.
2006-06-21 Christian Neumair <chris@gnome-de.org>
Add complete session management, remember maximization state and type
of open windows, save history on quit.
* libnautilus-private/nautilus-global-preferences.c
* libnautilus-private/nautilus-global-preferences.h:
Add NAUTILUS_PREFERENCES_NAVIGATION_WINDOW_MAXIMIZED setting.
* libnautilus-private/nautilus-metadata.h:
Add NAUTILUS_METADATA_KEY_WINDOW_MAXIMIZED key.
* src/nautilus-application.c:
* src/nautilus-application.h:
Save session on session save request, add
nautilus_application_load_session(), move
initial navigational geometry handling to
nautilus_application_create_navigation_window,
maximize window if
NAUTILUS_PREFERENCES_NAVIGATION_WINDOW_MAXIMIZED
is set.
* src/nautilus-main.c:
Add "--load-session" parameter.
* src/nautilus-shell-interface.idl:
* src/nautilus-shell.c:
Add load_session CORBA method.
* src/nautilus-navigation-window.c:
* src/nautilus-spatial-window.c:
Save maximized state when appropriate.
* src/nautilus-window-manage-views.c:
Load maximized state for spatial windows,
remove navigation window geometry handling.
* src/nautilus-window.c:
* src/nautilus-window-private.h:
Add nautilus_add_to_history_list_no_notify.
2006-05-30 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-icon-factory.c:
* libnautilus-private/nautilus-thumbnails.c:
* libnautilus-private/nautilus-thumbnails.h:
Use GdkPixbufLoader for thumbnailing.
2006-05-24 Paolo Borelli <pborelli@katamail.com>
* src/nautilus-information-panel.c:
* src/nautilus-window-bookmarks.c:
* src/file-manager/fm-properties-window.c:
Use g_signal_connect_data instead of the outdated eel
equivalent.
2006-05-24 Paolo Borelli <pborelli@katamail.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_get_uri_scheme):
use gnome_vfs_get_uri_scheme instead of eel_uri_get_scheme.
2006-05-16 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-icon-container.c (fm_icon_container_get_icon_images):
Only pass TRUE for embedding_text if we actually read a top-left text.
Based on patch from Rene Hausleitner (#335435)
2006-05-16 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c:
* src/nautilus-places-sidebar.c:
Don't allow floppy formating if the floppy is mounted,
since gfloppy can't handle that. (#125819)
Patch from Xavier Claessens
2006-05-16 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-icon-container.c: (icon_get_size),
(icon_set_size), (icon_toggle_selected),
(nautilus_icon_container_move_icon), (keyboard_stretching),
(end_stretching), (nautilus_icon_container_update_icon),
(assign_icon_position), (nautilus_icon_container_add),
(nautilus_icon_container_is_stretched),
(nautilus_icon_container_unstretch),
(nautilus_icon_container_freeze_icon_positions):
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-icon-dnd.c: (handle_local_move):
* libnautilus-private/nautilus-icon-private.h:
* src/file-manager/fm-icon-view.c:
(get_stored_icon_position_callback),
(icon_position_changed_callback):
Cleanup to merge the x any y icon scale factors into one variable.
Patch from Christian Neumair <chris@gnome-de.org>
2006-05-15 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (update_places_cb),
(volume_unmounted_callback), (drive_disconnected_callback),
(drive_connected_callback),
(nautilus_places_sidebar_set_parent_window):
Update the places on drive-connected and drive-disconnected
signals too. Delay the update for the volume-unmounted signal
with an idle callback to work around gnome-vfs removing the
volume only after we received the signal.
Patch from Xavier Claessens <xclaesse@gmail.com>
2006-05-09 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-window-manage-views.c:
(got_file_info_for_view_selection_callback):
Re-set viewed_file after a location change failed. Prevents
crashing over an assertion in viewed_file_changed_callback
on slow filesystems. Fixes#339965.
2006-05-08 Federico Mena Quintero <federico@novell.com>
* libnautilus-private/nautilus-file-operations.c
(handle_transfer_ok): Don't special-case the first 0 bytes of the
file in the case of reporting actual copy/move progress. It is
fine to update both the labels and the sizes every time. Fixes
http://bugzilla.gnome.org/show_bug.cgi?id=341064https://bugzilla.novell.com/show_bug.cgi?id=66073
2006-05-08 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (add_place), (update_places),
(check_visibility), (bookmarks_check_popup_sensitivity),
(get_selected_iter), (rename_selected_bookmark),
(remove_selected_bookmarks), (mount_shortcut_cb),
(unmount_shortcut_cb), (eject_shortcut_cb),
(nautilus_places_sidebar_init):
Add volume data to the list store and use it to show
an unmount command for network volumes. (#316184)
Patch from Xavier Claessens <xclaesse@gmail.com>
2006-05-07 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-query-editor.c: (type_combo_changed):
Fix typo in function name: s/availible/available/ (#326053)
* configure.in:
Require eel 2.15.1
2006-05-04 Christian Neumair <chris@gnome-de.org>
* src/nautilus-navigation-action.c:
(nautilus_navigation_action_class_init), (disconnect_proxy):
Disconnect signal handlers registered when connecting proxies.
2006-05-03 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (volume_op_callback):
(row_activated_callback), (bookmarks_popup_menu_detach_cb),
(eject_for_type), (set_visibility),
(bookmarks_check_popup_sensitivity), (get_selected_drive),
(mount_shortcut_cb), (unmount_shortcut_cb), (eject_shortcut_cb),
(format_shortcut_cb), (bookmarks_build_popup_menu):
Add mount, unmount, eject and format menu items to the popup menu
of drives in the places sidebar. (#316184)
Based on a patch from Xavier Claessens <xclaesse@gmail.com>
2006-05-01 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-window-menus.c: (action_about_nautilus_callback):
Adapt to new GtkAboutDialog behaviour and use wrap-license.
Makes the close button work again. Fixes#336520.
Patch from Christian Persch <chpe@gnome.org>
2006-05-01 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-program-choosing.c:
(application_cannot_open_location):
Remove bogus period from strings. (#336909)
Patch from Javier F. Serrador <serrador@tecknolabs.com>
2006-05-01 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file-operations.c:
(handle_transfer_overwrite): Use the same phrasing and
format as the GTK+ overwrite dialog. Also, per the HIG
convert the dialog to a confirmation alert since the user's
command may destroy data. (#325188)
Patch from Dennis Cranston <dennis_cranston@yahoo.com>
2006-05-01 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-image-properties-page.c: (append_tag_value_pair),
(append_exifdata_string):
Prefer "Date Taken" and "Date Digitized" over "Date Modified" when
deciding which date to show from image metadata. (#331810)
Patch from Pat Suwalski <pat@suwalski.net>
2006-04-28 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
* po/LINGUAS:
Update handling of po/LINGUAS for new instructions. Refer
to http://live.gnome.org/GnomeGoals/PoLinguas
Patch from Brian Pepple <bdpepple@gmail.com>
2006-04-26 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-file.c:
(nautilus_file_denies_access_permission),
(nautilus_file_can_get_permissions),
(nautilus_file_can_set_permissions):
If no ACCESS file info field is available, pretend to have full
access. If no PERMISSIONS field is available, pretend to have full
permission control.
2006-04-26 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.c:
Fix width of text selection in text-below-icons mode.
(it was to wide.)
2006-04-26 Alexander Larsson <alexl@redhat.com>
* configure.in:
Remove popt
* src/nautilus-connect-server-dialog-main.c:
* src/nautilus-main.c:
Convert from popt to goption.
Based on patch from Philip Van Hoof
2006-04-25 Alexander Larsson <alexl@redhat.com>
* src/nautilus-main.c:
Remove icon registration, as its no longer needed with gtk 2.9.
* src/nautilus-window-menus.c:
(nautilus_menus_append_bookmark_to_menu):
Remove bogus TODO.
2006-04-25 Alexander Larsson <alexl@redhat.com>
* configure.in:
Bump version to 2.15.1
2.14 development continues on gnome-2-14 branch.
==== gnome-2-14 branched from here ===
2006-04-25 Christian Neumair <chris@gnome-de.org>
* configure.in:
Require gnome-vfs 2.14.2, gnome_vfs_volume_compare fixes.
* src/file-manager/fm-tree-view.c: (create_tree):
Use gnome_vfs_volume_compare to sort volumes from the volume monitor.
2006-04-18 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-attributes.h:
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-file-private.h:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-file.h:
Add LARGE_TOP_LEFT_TEXT attribute and change the text size for
the normal top-left text to 10x5.
Add need_large argument to nautilus_file_peek_top_left_text and
nautilus_extract_top_left_text.
* libnautilus-private/nautilus-icon-canvas-item.[ch]
Make details an instance-private instead of allocating separately.
Add _set_is_visible() and only keep PangoLayouts cached for
visible icons.
* libnautilus-private/nautilus-icon-container.[ch]:
* src/file-manager/fm-icon-container.c:
Monitor large embedded text for larger icons.
Call nautilus_icon_canvas_item_set_is_visible as needed.
* libnautilus-private/nautilus-icon-factory.[ch]:
Limit never-free recently used cache to 20 items.
Free other unused cache items after a 100 sec.
2006-04-15 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (remove_selected_bookmarks):
Don't delete the first bookmark if pressing del key on an
undeletable item. Fixes#338377.
2006-04-14 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-spatial-window.c: (action_add_bookmark_callback):
Don't add location bookmark for desktop windows. Fixes#334860.
Patch from Christian Neumair <chris@gnome-de.org>
2006-04-11 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-side-pane.c: (nautilus_side_pane_init):
Use smaller close icon for the sidebar.
Patch from Yang Hong <yanghong@ccoss.com.cn>
2006-04-10 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-icon-dnd.c:
(get_data_on_first_target_we_support):
Determine drop target by iterating through drop container
target list instead of drag context DND list. (#337588)
Patch from Christian Neumair <chris@gnome-de.org>
2006-04-10 Martin Wehner <martin.wehner@gmail.com>
* po/LINGUAS: New file listing all supported languages.
* configure.in: Use po/LINGUAS instead of including all languages
directly in this file. See the wiki for more information:
http://live.gnome.org/GnomeGoals/PoLinguas
Patch from Brian Pepple <bdpepple@gmail.com>
2006-04-08 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update),
(nautilus_file_operations_progress_set_operation_string):
Update progress dialog when setting its operation string,
also set operation string during preflight.
2006-04-07 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (add_place), (update_places),
(mount_volume_callback), (row_activated_callback),
(bookmarks_popup_menu_detach_cb), (nautilus_places_sidebar_init):
Adapt the same policy for showing drives and volumes in the places
sidebar as in computer:/// and the gtk filechooser: Show unmounted
but user-visible drives and mount them on activation. (#321320)
Patch from Xavier Claessens <xclaesse@gmail.com>
2006-03-30 Christian Neumair <chris@gnome-de.org>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_get_loading):
* src/file-manager/fm-directory-view.h:
Add fm_directory_view_get_loading().
* src/file-manager/fm-icon-view.c: (file_has_lazy_position),
(fm_icon_view_add_file), (fm_icon_view_screen_changed):
Use fm_directory_view_get_loading() to determine whether view is
loaded. If it is not yet loaded, don't position icons lazily.
2006-03-24 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-connect-server-dialog-main.c: (main):
Get the command line options and pass them on to the dialog.
* src/nautilus-connect-server-dialog.c: (connect_to_server),
(nautilus_connect_server_dialog_init), (setup_for_type):
Use new MethodInfo struct to construct the UI.
(display_server_uri): New function for initialising the UI based
on the broken down parts of the URI.
(nautilus_connect_server_dialog_new): Use display_server_uri.
(get_method_description): New helper function.
(port_insert_text): Accept more than one digit at a time.
Display broken down URIs in 'Connect to Server' properly. (#332848)
Patch from Nate Nielsen <nielsen@memberwebs.com>
2006-03-22 Paolo Borelli <pborelli@katamail.com>
* src/nautilus-application.c: use g_strv_length instead of a
private copy and gnome_vfs_make_uri_from_shell_arg instead of
the old eel_make_uri_from_shell_arg. Bug #334077.
2006-03-22 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-directory-view.c:
(pattern_select_response_cb), (select_pattern):
Add help button to the Select Pattern dialog. (#331443)
* src/nautilus-connect-server-dialog.c: (response_callback),
(nautilus_connect_server_dialog_init):
Add help button to the Connect to Server dialog. (#334330)
* src/nautilus-location-dialog.c: (response_callback),
(nautilus_location_dialog_init):
Add help button to the Open Location dialog (#334293)
2006-03-14 Federico Mena Quintero <federico@novell.com>
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
Don't set the visibility of the "burn CD" action here.
(nautilus_window_initialize_menus_constructed): New public
function. Only disable NAUTILUS_ACTION_GO_TO_BURN_CD if we are in
a window which has a menubar. This prevents calling
have_burn_uri() unnecessarily for the desktop window, as this is
an expensive operation during login (up to 1 second!). The way
have_burn_uri() works is by creating a "burn:///" URI and seeing
if it is valid, but this makes gnome-vfs load libmapping.so from
nautilus-cd-burner; this takes a long time during login.
* src/nautilus-window-private.h: Added prototype for
nautilus_window_initialize_menus_constructed().
* src/nautilus-window.h: New prototype for
nautilus_window_has_menubar_and_statusbar().
* src/nautilus-window.c
(nautilus_window_has_menubar_and_statusbar): New function; returns
whether the window should have a menubar and statusbar. This
depends on the window_type from the class structure.
(nautilus_window_constructor): Call
nautilus_window_initialize_menus_constructed(). We do it here so
that its own call to nautilus_window_has_menubar_and_statusbar()
will already have the right value for class->window_type.
2006-03-19 Christian Neumair <chris@gnome-de.org>
* src/nautilus-main.c: (register_icons):
Speed up stock icon registration, as discussed on the mailing list:
http://mail.gnome.org/archives/nautilus-list/2006-March/msg00036.html
Also fixes#335158.
* src/nautilus-spatial-window.c: (action_add_bookmark_callback):
Don't add location bookmark for desktop windows. Fixes#334860.
* libnautilus-private/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
Check whether enclosing volume for any of the source files is
read-only, and set GNOME_VFS_XFER_TARGET_DEFAULT_PERMS in this case.
Fixes#167102.
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-file-utilities.h:
Add nautilus_get_enclosing_volume.
2006-03-07 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-directory-view.c: (drive_mounted_callback),
(activation_drive_mounted_callback):
Don't show error dialog if mount error is "".
2006-03-05 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-mime-actions.c:
(nautilus_mime_actions_get_full_file_attributes):
Don't request the mime list for activation, context menu and
the view as menu anymore. It was once used for determining a
specialized component for directories, but we don't support that
anymore. Nowadays it just delays these operations and can cause
auth dialogs when opening the popup menu.
2006-03-05 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file.c:
(nautilus_file_recompute_deep_counts):
Add file to work queue of enclosing directory when recomputing
deep count for the properties dialog. Fixes#169342.
Patch from Christian Neumair
2006-03-03 Alexander Larsson <alexl@redhat.com>
* src/nautilus-window-manage-views.c:
* src/nautilus-window-private.h:
Close window when it gets put in the trash.
Patch from Christian Neumair
2006-03-03 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.[ch]:
measure text in nautilus_icon_canvas_item_get_text_rectangle to avoid
icons jumping around
* libnautilus-private/nautilus-icon-container.c:
remove old workaround
Patch from Christian Neumair
2006-03-01 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-directory-async.c:
(new_files_cancel), (nautilus_directory_cancel):
Cancel get_file_info calls for new files too. Fixes a crash
when leaving a directory with pending calls (#152977).
2006-02-28 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-directory-view.c: (activate_callback):
Close the window after the file activation, not before.
Fixes a crash when middle-clicking a file (#330491).
2006-02-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (nautilus_file_should_show_directory_item_count):
Don't show directory count for smb shares, as that can cause
lots of network traffic and auth dialogs.
2007-02-28 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-icon-container.c:
(get_cmp_point_x), (get_cmp_point_y),
(compare_icons_horizontal_first), (compare_icons_vertical_first),
(closest_in_90_degrees), (record_arrow_key_start):
Use better icon points for comparing the position of two items in
"Text Beside Icon" mode. Fixes keynav issues with items that have
different icon sizes.
2006-02-27 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-tree-view-drag-dest.c:
(get_drop_path):
Test for the right path in the break condition. Fixes an infinite
loop when dragging an item over a non-folder child of an expanded
node in the list view, deadlocking the desktop.
2006-02-27 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-icon-view.c (fm_icon_view_add_file):
Use lazy positioning for volumes only, not all desktop file icons,
as this can cause icons to move around, and its mainly required
for removable volumes anyway.
2006-02-27 Alexander Larsson <alexl@redhat.com>
* src/nautilus-navigation-window.c:
* src/nautilus-spatial-window.c:
* src/nautilus-window.[ch]:
Don't shortcut the title change when the bookmark name changes.
Fixes#331383
Patch from Christian Neumair.
2006-02-26 Zbigniew Chyla <mail@zbigniew.chyla.pl>
Get users' and groups' names via a cache to avoid calling
getpwuid/getgrgid too often (i.e. many times during single redraw).
* libnautilus-private/Makefile.am: (libnautilus_private_la_SOURCES):
Added nautilus-users-groups-cache.[ch]
* libnautilus-private/nautilus-users-groups-cache.[ch]: New,
implementation of cache for getpwuid/getgrgid results.
* libnautilus-private/nautilus-file.c:
(get_user_name_from_id): removed
(get_real_name): accept "name + gecos" pair instead of "struct passwd".
(get_user_and_real_name_from_id): get user name and gecos using
nautilus_users_cache_* functions instead of using getpwuid directly.
(nautilus_get_user_names): adjusted to changed signature of get_real_name.
(nautilus_file_get_group_name): get group name using
nautilus_groups_cache_get_name instead of using getgrgid directly.
(nautilus_file_get_owner_as_string): get user name using
nautilus_users_cache_get_name.
2006-02-26 Zbigniew Chyla <mail@zbigniew.chyla.pl>
Don't add all possible columns to GtkTreeView when initializing
FMListView, only the ones we actually show. This way we avoid getting
unnecessary data from the model, e.g. quite heavy "owner" and "group"
columns with the default settings.
* src/file-manager/fm-list-view.c:
(apply_visible_columns_foreach, apply_visible_columns,
apply_column_order): removed
(apply_columns_settings): new function, updates a list of columns in
GtkTreeView given both a list of visible columns and their ordering,
replacement for apply_visible_columns and apply_column_order.
(create_and_set_up_tree_view): when creating details->columns hash
table, pass g_object_unref as value_destroy_func; before adding
columns to the hash call g_object_ref+gtk_object_sink on them, don't
add columns to the view, the appropriate columns will be added when
applying the configuration; in order to apply initial columns
settings, call apply_columns_settings (instead of
apply_visible_columns + apply_column_order).
(set_visible_columns_from_metadata_and_preferences,
set_column_order_from_metadata_and_preferences): removed
(set_columns_settings_from_metadata_and_preferences): new, replacement
for set_visible_columns_* and set_column_order_*.
(fm_list_view_begin_loading, column_chooser_changed_callback,
column_chooser_use_default_callback, fm_list_view_reset_to_defaults,
default_visible_columns_changed_callback,
default_column_order_changed_callback): use newly added
set_columns_settings_from_metadata_and_preferences.
2006-02-26 Zbigniew Chyla <mail@zbigniew.chyla.pl>
Avoid heavy operations inside "motion_notify_event" handler: don't
call gtk_tree_model_row_changed (which causes updating the whole
view), don't create new mouse cursor, change cursor only when
necessary.
As a bonus we avoid leaking hand cursor in nautilus and X server.
* src/file-manager/fm-list-view.c:
(hand_cursor): new global variable for storing hand cursor used in
single click mode
(motion_notify_callback): don't call gtk_tree_model_row_changed on
the model when changing rows, it's very slow and unnecessary - GTK+
automatically invalidates parts of the view occupied by old and new
row; don't leak the hand cursor (GdkCursor), change mouse cursor
only when necessary (from GDK_HAND2 to default and the other way
round)
(leave_notify_callback): don't call gtk_tree_model_row_changed on
the current row in the model, GTK+ automatically redraws the current
row
(enter_notify_callback): in case single click mode is used, update
details->hover_path and set hand cursor if necessary
(create_and_set_up_tree_view): connect to enter_notify_event signal
in addition to leave_notify_event.
(fm_list_view_click_policy_changed): unref global hand_cursor and
set it to NULL when changing to double click mode, create new cursor
and assign it to hand_cursor when changing to single click one.
(fm_list_view_finalize): free details->hover_path if necessary
(fm_list_view_init): explicitly set details->hover_path to NULL
2006-02-27 Alexander Larsson <alexl@redhat.com>
* src/nautilus-window-manage-views.c:
Don't close window if old file changed when we're loading
a new one (#137027).
Based on patch from Christian Neumair.
2006-02-27 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
Correctly handle *_margins as pixel values, not world-coords.
2006-02-27 Federico Mena Quintero <federico@novell.com>
* libnautilus-private/nautilus-icon-container.c
(finish_adding_new_icons): Do not place icons both in the
no_position_icons and semi_position_icons lists!
(snap_position): The final *x could be negative if (start_x + icon_width / 2)
is less than SNAP_SIZE_X, as SNAP_NEAREST_HORIZONTAL() would
return DESKTOP_PAD_HORIZONTAL. Then, we would subtract icon_width / 2,
getting a negative number. So, we initially test for this and
start that the first snap column. The same reasoning applies to
*y and the baseline.
2006-02-27 Alexander Larsson <alexl@redhat.com>
* src/nautilus-navigation-window.c:
Allow saving a sidebar width of 0 (#331475)
Patch from Christian Neumair
2006-02-27 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.c (create_label_layout):
Allow line-breaks after '-', '_', '.'
(although not when a short number follows '.')
Patch from Christian Neumair
2006-02-27 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (can_accept_file_as_bookmark),
(can_accept_items_as_bookmarks), (drag_motion_callback),
(bookmarks_drop_uris), (build_selection_list),
(drag_data_received_callback):
Only allow creation of bookmarks for directories. Fixes#328074.
2006-02-26 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-directory-view.c: (done_loading):
Only use the idle reveal mechanism for the list view.
2006-02-26 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy), (reveal_selection_idle_callback),
(done_loading):
Call reveal_selection in an idle callback to work around a bug in
GtkTreeView which produces buggy scroll states when the nodes have
not yet been allocated. It would make the selection always the top
row even when it should ignore alignment, among other oddities.
2006-02-26 Christian Neumair <chris@gnome-de.org>
* src/nautilus-application.c: (nautilus_application_get_n_windows):
* src/nautilus-application.h:
* src/nautilus-window-manage-views.c:
(got_file_info_for_view_selection_callback):
Also consider desktop windows when deciding whether to fallback to
home or not. Fixes#331605.
2006-02-25 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
* zh_TW.po: Updated Traditional Chinese translation(Taiwan).
* zh_HK.po: Added Traditional Chinese translation(Hong Kong).
2006-02-24 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c:
(directory_count_start):
Use new GNOME_VFS_FILE_INFO_NAME_ONLY flag when counting files.
This avoids lots of stats.
* configure.in:
Require vfs 2.13.92 (cvs for now) for the above.
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>
2006-01-30 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (compute_drop_position),
(get_drag_data), (free_drag_data), (drag_motion_callback),
(drag_leave_callback), (uri_list_from_selection),
(drag_data_received_callback), (drag_drop_callback),
(nautilus_places_sidebar_init), (nautilus_places_sidebar_finalize):
Enable bookmarks as drop targets. Closes#43311.
Based on a patch from Christian Neumair <chris@gnome-de.org>.
2006-01-29 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-icon-container.c:
(finish_adding_new_icons):
Use same grid as positioned icons to not mess up spacing.
2006-01-28 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_size_as_string_with_real_size),
(nautilus_file_get_string_attribute):
* src/file-manager/fm-properties-window.c: (create_basic_page):
Show the detailed file size in addition to the formatted one
in the properties dialog. Fixes#62713.
Patch from Gautier Portet <kassoulet@gmail.com>
2006-01-26 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-directory-view.c:
(confirm_delete_from_trash):
HIGify the icon in the delete from trash dialog.
Patch from Luca Ferretti <elle.uca@libero.it>
2006-01-26 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file-operations.c:
(progress_dialog_set_to_from_item_text):
Use nautilus_get_uri_shortname_for_display to avoid
crashing g_markup with invalid utf-8. Fixes#325586.
2006-01-22 Martin Wehner <martin.wehner@gmail.com>
* src/file-manager/fm-properties-window.c:
(synch_groups_combo_box), (synch_user_menu):
Don't try to update the owner and group widgets if
the monitored file was removed. Fixes#325702.
2006-01-21 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-window.c: (nautilus_window_destroy):
Unref and destroy a new content view that has been created
but not yet been switched to. Fixes a rare crash.