2008-08-20 Christian Neumair * NEWS: Update for release. 2008-08-20 Christian Neumair * libnautilus-private/nautilus-program-choosing.c (nautilus_launch_application_from_command), (nautilus_launch_application_from_command_array): * libnautilus-private/nautilus-program-choosing.h: Use vararg list for nautilus_launch_application_from_command(). Add nautilus_launch_application_from_command_array() which takes a parameter string array. Quote each parameter separately. * libnautilus-private/nautilus-mime-actions.c (activate_files): * src/file-manager/fm-desktop-icon-view.c (action_new_launcher_callback), (action_change_background_callback): * src/file-manager/fm-directory-view.c (action_new_launcher_callback), (get_file_names_as_parameter_array), (run_script_callback): * src/file-manager/fm-tree-view.c (got_activation_uri_callback): Pass each parameter separately to nautilus_launch_application_from_command(_array)(). The _array() variant is used for running scripts, where the file names of the selection are passed separately. Fixes #341657. Thanks to Cosimo Cecchi. 2008-08-20 Christian Neumair * libnautilus-private/nautilus-search-engine-simple.c (visit_directory): Make content type search criterion useful, by fixing typo from GIO migration. Fixes #548645. 2008-08-19 Christian Neumair * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text), (nautilus_icon_canvas_item_set_entire_text): * libnautilus-private/nautilus-icon-canvas-item.h: * libnautilus-private/nautilus-icon-container.c (lay_down_one_line), (lay_down_icons_horizontal): Never ellipsise text in last line of a line-wise layout. 2008-08-18 Christian Neumair * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: Add "icon_view/text_ellipsis_limit" and "desktop/text_ellipsis_limit". They specify the maximum number of lines to display before the file names should be ellipsized. * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): * libnautilus-private/nautilus-icon-container.c (text_ellipsis_limit_changed_container_callback), (nautilus_icon_container_constructor), (nautilus_icon_container_class_init), (get_text_ellipsis_limit_for_zoom), (text_ellipsis_limit_changed_callback), (desktop_text_ellipsis_limit_changed_callback), (nautilus_icon_container_instance_init), (nautilus_icon_container_get_layout_height): * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-info.h: Connect icon container to text ellipsis limit preferences. 2008-08-18 Christian Neumair * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_event): Raise icon when hovering with the mouse over it. 2008-08-17 Christian Neumair * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): Obey one-line constraint in compact mode. 2008-08-16 Christian Neumair * src/nautilus-navigation-window.c (real_sync_zoom_widgets): * src/nautilus-window.c (real_sync_zoom_widgets): Properly calculate zoom level. Issue was imported from old "zoom-parameters-change" cruft. Fixes #548036. 2008-08-16 Christian Neumair * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text), (nautilus_icon_canvas_item_event): Also display whole icon text when hovering with the mouse over the icon. 2008-08-16 Christian Neumair * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_invalidate_label_size), (nautilus_icon_canvas_item_set_property), (compute_text_rectangle), (nautilus_icon_canvas_item_update_bounds), (layout_get_full_size), (draw_or_measure_label_text), (create_label_layout), (nautilus_icon_canvas_item_get_bounds_for_layout), (nautilus_icon_canvas_item_bounds), (nautilus_icon_canvas_item_ensure_bounds_up_to_date), (nautilus_icon_canvas_item_get_text_rectangle): * libnautilus-private/nautilus-icon-canvas-item.h: * libnautilus-private/nautilus-icon-container.c (icon_get_bounding_box_for_layout), (lay_down_icons_horizontal), (get_max_icon_dimensions), (lay_down_icons_vertical), (placement_grid_mark_icon), (find_empty_location), (lay_down_icons_vertical_desktop), (reload_icon_positions), (nautilus_icon_container_start_renaming_selected_item): Truncate icon label to three lines if it is not selected. Fixes #84390, at least in text-below-icon mode. 2008-08-16 Christian Neumair * src/file-manager/fm-directory-view.c (update_restore_from_trash_action): Ensure that hash table is not NULL before getting keys if the selection does not contain exactly one item. 2008-08-16 Christian Neumair * src/file-manager/fm-directory-view.c (action_restore_from_trash_callback), (locations_from_file_list), (restore_from_trash), (action_location_restore_from_trash_callback), (get_original_directories), (files_are_all_directories), (files_is_none_directory), (update_restore_from_trash_action), (real_update_location_menu), (real_update_menus): * src/nautilus-window-manage-views.c (begin_location_change), (got_file_info_for_view_selection_callback), (free_location_change): Support restoring of multiple items from trash at once. Group them by original directory, and start a file operation for each original directory. Display appropriate tooltips. Fixes #547977. 2008-08-16 Christian Neumair * src/nautilus-pathbar.c (slider_timeout), (nautilus_path_bar_init), (nautilus_path_bar_class_init), (nautilus_path_bar_scroll), (nautilus_path_bar_scroll_down), (nautilus_path_bar_scroll_up), (nautilus_path_bar_scroll_timeout), (nautilus_path_bar_slider_button_press): Handle scroll events. Fixes #547990. 2008-08-13 Christian Neumair * libnautilus-private/nautilus-icon-info.h: * src/file-manager/fm-directory-view.c (file_should_show_foreach), (file_should_show_self), (real_update_menus_volumes): * src/file-manager/fm-tree-view.c (button_pressed_callback), (fm_tree_view_unmount_cb), (fm_tree_view_eject_cb), (create_popup_menu): Make eject and unmount labels consistent between tree side pane and places side pane, display both eject and unmount for volumes supporting both. Partially fixes #547275. 2008-08-13 Christian Neumair * libnautilus-private/nautilus-dnd.c (nautilus_drag_default_drop_action_for_icons): Use correct target file for same filesystem check when dropping to desktop. Fixes #547282. 2008-08-11 A. Walton * libnautilus-private/nautilus-file-operations.c (nautilus_file_operations_copy_move): Use g_file_has_uri_scheme() instead of rolling our own. Fixes bug #539780. 2008-08-07 Christian Neumair * libnautilus-private/nautilus-file.c (nautilus_file_is_archive): Add more supported MIME types, since file-roller trunk can handle them for remote locations. Thanks to Nelson Benítez León. 2008-08-06 Christian Neumair * libnautilus-private/nautilus-view.c (nautilus_view_base_init): * libnautilus-private/nautilus-view.h: Remove unused "zoom-parameters-changed" signal. 2008-08-06 Christian Neumair * src/nautilus-navigation-window.c (real_sync_zoom_widgets), (nautilus_navigation_window_class_init): * src/nautilus-window-manage-views.c (create_content_view), (location_has_really_changed), (update_for_new_location), (free_location_change), (nautilus_window_report_view_failed), (nautilus_window_manage_views_destroy), (nautilus_window_manage_views_close_slot): * src/nautilus-window-private.h: * src/nautilus-window-slot.c (real_active), (title_changed_callback), (nautilus_window_slot_connect_content_view), (nautilus_window_slot_disconnect_content_view), (nautilus_window_slot_set_content_view_widget): * src/nautilus-window-slot.h: * src/nautilus-window.c (nautilus_window_set_active_slot), (real_sync_zoom_widgets), (nautilus_window_sync_zoom_widgets), (zoom_level_changed_callback), (nautilus_window_connect_content_view), (nautilus_window_disconnect_content_view), (nautilus_window_class_init): * src/nautilus-window.h: Consolidate zoom handling. Add nautilus_window_sync_zoom_level(), and sync_zoom_level() method to NautilusWindow. Use it to sync both the menu state, and the toolbar state. Remove NautilusWindow's (dis)connect_content_view(), and use unified code in nautilus_window_(dis)connect_content_view(), wrapped by nautilus_window_slot_(dis)connect_content_view(), which also handles the (notebook) title sync. Fixes #546333. 2008-08-06 Cosimo Cecchi * src/nautilus-bookmarks-window.c: (on_selection_changed), (update_bookmark_from_text): Show the parse name instead of the URI in the bookmark editor location entry (#546267). 2008-08-05 Jens Granseuer * src/nautilus-window.h: fix "parameter has incomplete type" warning by moving the type declarations before the functions that use them (#546310) 2008-08-05 Cosimo Cecchi * src/file-manager/fm-list-view.c: (create_column_editor): HIG improvements for the "Visible Columns" dialog. Initial patch by Vincent Geddes (#457451). 2008-08-03 Christian Neumair * configure.in: Post release version bump. === nautilus 2.23.6.1 ===