2008-07-21 Christian Neumair * src/nautilus-query-editor.h: Fix NautilusWindowInfo header inclusion. 2008-07-21 Christian Neumair * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c (action_location_open_alternate_callback), (action_location_open_in_new_tab_callback), (real_update_location_menu), (real_update_menus): * src/file-manager/nautilus-directory-view-ui.xml: Add "Open in New Tab" item to location popup, and consolidate labels in case both spatial and browser mode are available. 2008-07-21 Christian Neumair * NEWS: Update for release. 2008-07-21 Christian Neumair * configure.in: * src/file-manager/fm-properties-window.c (value_field_update_internal): Use C_() instead of Q_(). Require intltool 0.36.3. 2008-07-21 Christian Neumair * configure.in: Allow to disable XMP support. Thanks to Mikel Olasagasti and Gilles Dartiguelongue. 2008-07-21 Christian Neumair * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c (update_info_internal), (nautilus_file_get_trash_original_file): * libnautilus-private/nautilus-file.h: * src/file-manager/fm-actions.h: * src/file-manager/fm-directory-view.c (action_restore_from_trash_callback), (restore_from_trash), (action_location_restore_from_trash_callback), (update_restore_from_trash_action), (real_update_location_menu), (real_update_menus): * src/file-manager/nautilus-directory-view-ui.xml: Support restoring from trash (one item at a time). 2008-07-21 Christian Neumair * src/nautilus-window-menus.c: * src/nautilus-zoom-control.c (nautilus_zoom_control_instance_init): Add tooltips to the zoom controls, make menu tooltips consistent with and a11y description consistent with Epiphany. Related to #543935. Thanks to Diego Escalante Urrelo. 2008-07-21 Christian Neumair * src/file-manager/fm-icon-view.c (fm_icon_view_register), (fm_compact_view_register): * src/file-manager/fm-icon-view.h: * src/nautilus-application.c (nautilus_application_instance_init): * src/nautilus-file-management-properties.c: * src/nautilus-file-management-properties.glade: Display compact view after list view, rather than before it. Fixes keybindings, and #543934. Thanks to Diego Escalante Urrelo. 2008-07-21 Christian Neumair * src/nautilus-location-bar.c (editable_activate_callback), (nautilus_location_bar_init): Do not emit "location-changed" if the entry is empty. Fixes #527552. Thanks to Pedro Villavicencio, Cosimo Cechi and others. 2008-07-20 David Zeuthen * libnautilus-private/nautilus-file-operations.c (unmount_mount_callback): Call the correct finish function. 2008-07-20 Christian Neumair * src/nautilus-pathbar.c (nautilus_path_bar_check_parent_path), (nautilus_path_bar_update_path): Do not treat top-level mounts (i.e. sftp://server/) as fake roots, and consequently do not display up slider. 2008-07-20 Christian Neumair * src/nautilus-pathbar.c (get_type_icon_info): Use NautilusFile icon for normal buttons, rather than forcing folder icon. Fixes special location icons like network:///, computer:/// etc. 2008-07-20 Christian Neumair * libnautilus-private/nautilus-file.c (update_info_internal): Only update referenced MIME type if it actually changed. 2008-07-20 Christian Neumair * libnautilus-private/nautilus-dnd.c (check_same_fs), (nautilus_drag_default_drop_action_for_icons): * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c (nautilus_file_clear_info), (finalize), (update_info_internal), (nautilus_file_get_filesystem_id): * libnautilus-private/nautilus-file.h: Query filesystem ID, as referenced string. Use it to determine whether two files are on the same FS during DND. Gets rid of synchronous I/O. 2008-07-20 Christian Neumair * src/nautilus-notebook.c (nautilus_notebook_sync_tab_label): Use full location name as tab tooltip. 2008-07-19 Christian Neumair * src/nautilus-places-sidebar.c (add_place), (nautilus_places_sidebar_init): Only align eject icons with ejectable rows, instead of aligning them with all icons above the seperator. 2008-07-19 Christian Neumair * libnautilus-private/nautilus-file-operations.c (mount_callback_data_notify), (volume_mount_cb), (nautilus_file_operations_mount_volume), (nautilus_file_operations_mount_volume_full): * libnautilus-private/nautilus-file-operations.h: Add nautilus_file_operations_mount_volume_full(), which will issue a callback with an optional user data object, if the object is still alive after mounting. * src/nautilus-places-sidebar.c (add_place), (clicked_eject_button), (volume_mounted_cb), (open_selected_bookmark), (nautilus_places_sidebar_init), (nautilus_places_sidebar_dispose): Open files after mounting them. 2008-07-17 Christian Neumair * libnautilus-private/nautilus-program-choosing.c (nautilus_launch_application): Pass textual URIs instead of GFiles to GAppInfo for remote files, similar to nautilus_launch_desktop_file(). Fixes #543448. Discovered by Kamil Páral. 2008-07-16 A. Walton * configure.in: * src/file-manager/fm-properties-window.c (value_field_update_internal): Migrate to Msgctxt using C_() instead of Q_(). Nautilus now requires intltool 0.36.3 or better. 2008-07-16 A. Walton * src/file-manager/fm-properties-window.c (create_basic_page): Small touchup to r14351 (bug #542658) caught by Claude Paroz. 2008-07-16 Christian Neumair * src/nautilus-pathbar.c (desktop_location_changed_callback), (nautilus_path_bar_finalize), (reload_icons), (get_custom_user_icon_info), (get_type_icon_info), (nautilus_path_bar_update_button_appearance), (nautilus_path_bar_update_button_state), (button_data_file_changed), (make_directory_button), (nautilus_path_bar_check_parent_path): * src/nautilus-pathbar.h: Dynamically update buttons on file changes instead of hard-coding them once, both labels and icons. Refactor icon code. Add TODO notice about reaction to XDG directory changes. Comment out usage of custom icons for path bar buttons, due to GDK pixbuf issues when scaling down large images #80925. 2008-07-15 Christian Neumair * src/nautilus-pathbar.c (button_data_free), (button_data_file_changed), (make_directory_button), (nautilus_path_bar_update_path): Use NautilusFile instead of GFile for obtaining display name. Gets rid of sync I/O. 2008-07-15 Christian Neumair * libnautilus-private/nautilus-icon-container.c (button_press_event), (nautilus_icon_container_did_not_drag), (handle_icon_double_click), (handle_icon_button_press): Only use double click for left mouse button. The middle mouse button opens a new tab or window on one click. Fixes #543136. 2008-07-15 Christian Neumair * libnautilus-private/nautilus-icon-info.c (nautilus_icon_get_emblem_size_for_icon_size): * src/file-manager/fm-list-model.c (fm_list_model_get_value): Display emblems for small icon sizes, down to 16 pixels. 2008-07-15 Christian Neumair * libnautilus-private/nautilus-dnd.c (slot_proxy_drag_motion), (nautilus_drag_slot_proxy_init): Also support a mode where the target URI is NULL, and the target slot is set. * src/nautilus-notebook.c (build_tab_label): Set up notebook labels as slot drag proxy, replace old DND code. 2008-07-14 A. Walton * libnautilus-private/nautilus-emblem-utils.c (nautilus_emblem_install_custom_emblem), (nautilus_emblem_can_remove_emblem): Use the GLib gstdio functions here, suggested in bug 542819 by Thadeu Lima de Souza Cascardo. 2008-07-13 Christian Neumair * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-emblem-utils.c: Include sys/stat.h for struct stat and S_ISUID and other macros. Thanks to Thadeu Lima de Souza Cascardo . 2008-07-13 Christian Neumair * libnautilus-private/nautilus-dnd.c (nautilus_drag_uri_array_from_selection_list), (nautilus_drag_uri_list_from_selection_list), (nautilus_drag_uri_array_from_list), (nautilus_drag_uri_list_from_array), (slot_proxy_drag_motion), (drag_info_clear), (slot_proxy_drag_leave), (slot_proxy_drag_drop), (slot_proxy_handle_drop), (slot_proxy_drag_data_received), (nautilus_drag_slot_proxy_init): * libnautilus-private/nautilus-dnd.h: Add simple slot drop proxy API to libnautilus-private, centered around nautilus_drag_slot_proxy_init(). The notebook tab label drop targets will later be ported to this API. Add API for converting URI lists to URI arrays, and for constructing URI lists and arrays from selection lists. * src/nautilus-notebook.c (notebook_tab_drag_data_received): Use nautilus_drag_uri_array_from_selection_list(). * src/nautilus-pathbar.c (slider_timeout), (nautilus_path_bar_slider_drag_motion), (nautilus_path_bar_slider_drag_leave), (nautilus_path_bar_init), (nautilus_path_bar_finalize), (button_data_free), (button_drag_data_get_cb), (setup_button_drag_source), (make_directory_button): * src/nautilus-pathbar.h: Add path bar drop targets, use nautilus_drag_slot_proxy_init() for setup. Also offer GNOME icon lists as drag target. Reveal hidden paths when hovering over the up/down sliders for some time. Fixes #309842. 2008-07-13 Christian Neumair * libnautilus-private/nautilus-view.c (nautilus_view_drop_proxy_received_netscape_url): * libnautilus-private/nautilus-view.h: * src/file-manager/fm-directory-view.c (fm_directory_view_init_view_iface), (fm_directory_view_drop_proxy_received_uris), (fm_directory_view_drop_proxy_received_netscape_url): Add function for receiving netscape URLs, clear colliding clipboard contents when receiving dropped URIs. 2008-07-13 Christian Neumair * libnautilus-private/nautilus-window-slot-info.c (nautilus_window_slot_info_get_current_view): * libnautilus-private/nautilus-window-slot-info.h: * src/nautilus-window-slot.c (real_slot_info_get_current_view), (nautilus_window_slot_info_iface_init): Add nautilus_window_slot_info_get_window() for getting current NautilusView (one ref count added). 2008-07-12 Christian Neumair * libnautilus-private/nautilus-icon-container.c (handle_icon_double_click): Fix typo. 2008-07-12 Christian Neumair * src/file-manager/fm-properties-window.c (create_basic_page), (create_simple_permissions), (create_advanced_permissions), (create_permissions_page): Use UTF-8 dash instead of "--". Fixes #542658. Thanks to Claude Paroz. 2008-07-12 Christian Neumair * libnautilus-private/nautilus-icon-container.c (button_press_event): * libnautilus-private/nautilus-icon-private.h: Completely rewrite button press detection. Finally fixes #542269 without any side effects. 2008-07-12 Christian Neumair * libnautilus-private/nautilus-icon-container.c (handle_icon_button_press): Fix activation of previously selected icons (introduced when fixing bug #347423). Fixes #542269. Thanks to Tomasz Sałaciński. 2008-07-10 Christian Neumair * src/file-manager/fm-directory-view.c: Do not bind CTRL+T to "Move to Trash". 2008-07-09 Christian Neumair * src/nautilus-navigation-window-menus.c (action_forward_callback): Fix typo. Go forward instead of going back. 2008-07-09 Christian Neumair * src/nautilus-places-sidebar.c (compute_drop_position), (drag_motion_callback), (reorder_bookmarks), (drag_data_received_callback), (nautilus_places_sidebar_init): Bookmark DND fix galore. Properly handle reordering when non-existing bookmarks are present. They are ignored by the view, but not by the Nautilus bookmark list. Make DND indication consistent with the GTK+ file chooser. 2008-07-09 Christian Neumair * libnautilus-private/nautilus-window-slot-info.h: Actually add it. * src/nautilus-navigation-window-slot.h: * src/nautilus-notebook.h: * src/nautilus-window-slot.h: Contents was added twice. Remove it once. 2008-07-08 Christian Neumair * libnautilus-private/*.c: * src/*.c: Merge "multiview" tab branch. Fixes #48034. 2008-07-07 Christian Neumair * libnautilus-private/nautilus-ui-utilities.c (nautilus_toolbar_action_from_menu_item): Use GTK_ICON_SIZE_LARGE_TOOLBAR instead of hard coding the icon size to 48. Fixes #541527. Thanks to Gilles Dartiguelongue. 2008-07-06 Christian Neumair * src/nautilus-navigation-window.c (unset_focus_widget), (is_in_temporary_navigation_bar), (is_in_temporary_search_bar), (remember_focus_widget), (restore_focus_widget), (hide_temporary_bars), (navigation_bar_cancel_callback), (navigation_bar_location_changed_callback), (nautilus_navigation_window_destroy), (real_prompt_for_location), (search_bar_cancel_callback), (nautilus_navigation_window_show_search), (real_set_search_mode): * src/nautilus-window-manage-views.c (location_has_really_changed): * src/nautilus-window-private.h: * src/nautilus-window.c (nautilus_window_set_content_view_widget): Always grab view focus on location change, even if it the old view is re-used. Remember last focus widget when temporarily showing a bar, and re-focus it when hiding it. Fixes #500946. Thanks to Nelson Benítez León. 2008-07-04 Christian Neumair * src/nautilus-places-sidebar.c (add_place), (clicked_eject_button), (check_unmount_and_eject), (check_visibility), (rename_selected_bookmark), (do_unmount), (do_unmount_selection), (unmount_shortcut_cb), (do_eject), (eject_shortcut_cb), (eject_or_unmount_bookmark), (eject_or_unmount_selection), (bookmarks_key_press_event_cb), (bookmarks_button_press_event_cb), (nautilus_places_sidebar_init): Add eject button to places sidebar. Use multiple cell renderers for aligning the button with the items above the separator, but not below it. Thanks to Stefano Teso, Cosimo Cecchi, Juan Dapena Paz and Ignacio Casal Quinteiro. Fixes #343839. 2008-07-04 Cosimo Cecchi * libnautilus-private/nautilus-file-utilities.c: (nautilus_get_user_directory), (nautilus_get_desktop_directory), (nautilus_create_templates_directory), (nautilus_get_searches_directory): * libnautilus-private/nautilus-metafile.c: (construct_private_metafile_uri): * libnautilus-private/nautilus-mime-actions.c: (activate_files): * src/file-manager/fm-directory-view.c: (change_to_view_directory), (run_script_callback): Use g_mkdir() and g_chdir() instead of mkdir() and chdir() to fix some warnings under GCC 4.3.1. 2008-07-03 Wouter Bolsterlee * libnautilus-private/nautilus-emblem-utils.c: Include to fix the build. Some cleanup in header imports to improve code legibility. * libnautilus-private/nautilus-file.c: Include here as well. 2008-07-03 Wouter Bolsterlee * configure.in: Don't reference cut-n-paste-code/widgets/ directory since it was removed in revision 14306. 2008-06-30 Christian Neumair * libnautilus-private/nautilus-directory-async.c (thumbnail_done), (thumbnail_loader_size_prepared), (get_pixbuf_for_content), (thumbnail_start): * libnautilus-private/nautilus-file.h: Scale down huge pixbufs when loading. Massively speed up loading of directories where the original image is used as thumbnail. Also try to write the whole file at once rather than writing in chunks. * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c (nautilus_file_get_icon): Rewrite some flaky parts of thumbnailing. Never scale any thumbnails up. Always compose thumbnail on the fly instead storing it once and scaling it up and down. Add flag to force that thumbnail size matches the output icon size for tree view. * src/file-manager/fm-list-model.c (fm_list_model_get_value): Use this flag. 2008-06-29 Cosimo Cecchi * README: Remove reference to the need of a GNOME 2.4 environment to build Nautilus. 2008-06-29 Cosimo Cecchi * cut-n-paste-code/README: Update outdated information and mailing list address. 2008-06-29 Cosimo Cecchi * cut-n-paste-code/Makefile.am: * cut-n-paste-code/widgets/Makefile.am: Remove useless empty widgets directory. 2008-06-29 Cosimo Cecchi * src/nautilus-window.c: (nautilus_window_set_status): Fix a huge leak as messages were pushed in the statusbar but almost never popped. Patch by Vincent Untz. (#536968). 2008-06-29 Christian Neumair * libnautilus-private/nautilus-icon-container.c (clicked_within_double_click_interval), (handle_icon_button_press): * libnautilus-private/nautilus-icon-private.h: Use customized double click detection, for supporting double clicks on half shown items, where the first click triggers a scroll event. Thanks to Nelson Benítez León. Fixes #347423. 2008-06-28 A. Walton * libnautilus-private/nautilus-icon-container.c (keyboard_arrow_key): Move keyboard focus correctly after a file has been removed. Patch thanks to Nelson Benitez. Closes bug #540107. 2008-06-28 Christian Neumair * src/nautilus-window-manage-views.c (nautilus_window_report_selection_changed), (nautilus_window_report_load_underway), (nautilus_window_report_load_complete), (free_location_change), (nautilus_window_report_view_failed), (nautilus_window_stop_loading): * src/nautilus-window-private.h: Stop loading of new view instead of just unreffing it when freeing a location change. Ignore view signals of new view when stopping it. Otherwise we'd have infinite recursion. 2008-06-28 Christian Neumair * libnautilus-private/nautilus-icon-container.c (keyboard_move_to), (keyboard_space): If no icon is selected, but an icon has the keyboard focus, select it when pressing space. Thanks to Nelson Benítez León, A. Walton and Amir Reza Khosroshahi. Fixes #378202. 2008-06-23 Rodney Dawes * libnautilus-private/nautilus-emblem-utils.c: (is_reserved_keyword, nautilus_emblem_should_show_in_list): * libnautilus-private/nautilus-file.h: Add the emblem-shared icon to be hidden in the emblems dialog and to be used as a reserved keyword as well 2008-06-23 Cosimo Cecchi * configure.in: require libbeagle >= 0.2.4. (#351288). 2008-06-19 Christian Persch * src/file-manager/fm-directory-view.c: (convert_file_list_to_string), (get_clipboard_callback), (clear_clipboard_callback), (convert_file_list_to_uris), (copy_or_cut_files), (clipboard_targets_received), (real_update_paste_menu), (fm_directory_view_class_init): * src/file-manager/fm-tree-view.c: (get_clipboard_callback), (clear_clipboard_callback), (convert_file_to_uri), (copy_or_cut_files): Store the clipboard selection also in text/uri-list format. Part of bug #314120. 2008-06-16 Christian Neumair * configure.in: post-release bump to 2.23.5. ==================== 2.23.4 ====================