1. 16 Aug, 2008 6 commits
    • Christian Neumair's avatar
      Properly calculate zoom level. Issue was imported from old · 5704ecfd
      Christian Neumair authored
      2008-08-16  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14483
      5704ecfd
    • Christian Neumair's avatar
      Also display whole icon text when hovering with the mouse over the icon. · b0510f99
      Christian Neumair authored
      2008-08-16  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14482
      b0510f99
    • Christian Neumair's avatar
      Truncate icon label to three lines if it is not selected. Fixes #84390, at · 88500527
      Christian Neumair authored
      2008-08-16  Christian Neumair  <cneumair@gnome.org>
      
      	* 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. 
      
      svn path=/trunk/; revision=14480
      88500527
    • Christian Neumair's avatar
      Ensure that hash table is not NULL before getting keys if the selection · 03d07cce
      Christian Neumair authored
      2008-08-16  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14478
      03d07cce
    • Christian Neumair's avatar
      Support restoring of multiple items from trash at once. Group them by · 2e68dc0d
      Christian Neumair authored
      2008-08-16  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14477
      2e68dc0d
    • Christian Neumair's avatar
      Handle scroll events. Fixes #547990. · e4965a00
      Christian Neumair authored
      2008-08-16  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14476
      e4965a00
  2. 13 Aug, 2008 2 commits
    • Christian Neumair's avatar
      Make eject and unmount labels consistent between tree side pane and places · 797ee00a
      Christian Neumair authored
      2008-08-13  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14467
      797ee00a
    • Christian Neumair's avatar
      Use correct target file for same filesystem check when dropping to · 35c782ae
      Christian Neumair authored
      2008-08-13  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14466
      35c782ae
  3. 11 Aug, 2008 1 commit
  4. 07 Aug, 2008 1 commit
  5. 06 Aug, 2008 2 commits
    • Christian Neumair's avatar
      Remove unused "zoom-parameters-changed" signal. · 520f42cf
      Christian Neumair authored
      2008-08-06  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-view.c (nautilus_view_base_init):
      	* libnautilus-private/nautilus-view.h:
      	Remove unused "zoom-parameters-changed" signal.
      
      svn path=/trunk/; revision=14455
      520f42cf
    • Christian Neumair's avatar
      Consolidate zoom handling. Add nautilus_window_sync_zoom_level(), and · bd8931b3
      Christian Neumair authored
      2008-08-06  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14454
      bd8931b3
  6. 05 Aug, 2008 3 commits
  7. 04 Aug, 2008 3 commits
    • Christian Neumair's avatar
      Post release version bump. · 8f8cba4a
      Christian Neumair authored
      2008-08-03  Christian Neumair  <cneumair@gnome.org>
      
      	* configure.in:
      	Post release version bump.
      
      === nautilus 2.23.6.1 ===
      
      svn path=/trunk/; revision=14445
      8f8cba4a
    • Christian Neumair's avatar
      Update for release. · 0c53ab95
      Christian Neumair authored
      2008-08-04  Christian Neumair  <cneumair@gnome.org>
      
      	* NEWS:
      	Update for release.
      
      	* configure.in:
      	Change version to 2.23.6.1.
      
      svn path=/trunk/; revision=14443
      0c53ab95
    • Christian Neumair's avatar
      When changing the file name, only clear the display name if the new file · 59dd17b1
      Christian Neumair authored
      2008-08-04  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file.c (update_info_internal):
      	When changing the file name, only clear the display name if the new
      	file info has a NULL display name, i.e. it hasn't been set before with
      	nautilus_file_set_display_name(). Fixes icon names of computer:/// items.
      
      svn path=/trunk/; revision=14442
      59dd17b1
  8. 03 Aug, 2008 3 commits
    • Christian Neumair's avatar
      Post release version bump. · 3f485cb3
      Christian Neumair authored
      2008-08-03  Christian Neumair  <cneumair@gnome.org>
      
      	* configure.in:
      	Post release version bump.
      
      svn path=/trunk/; revision=14441
      3f485cb3
    • Christian Neumair's avatar
      Update for release. · 8811400f
      Christian Neumair authored
      2008-08-03  Christian Neumair  <cneumair@gnome.org>
      
      	* NEWS:
      	Update for release.
      
      svn path=/trunk/; revision=14439
      8811400f
    • Christian Neumair's avatar
      Support transfer of files with reserved characters to FAT. Auto-escape · f952bc29
      Christian Neumair authored
      2008-08-03  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file-operations.c (str_replace),
      	(make_file_name_valid_for_dest_fs), (get_unique_target_file),
      	(get_target_file_for_link), (get_target_file), (create_dest_dir),
      	(copy_move_directory), (query_fs_type), (copy_move_file),
      	(copy_files), (move_file_prepare), (move_files_prepare),
      	(move_files), (move_job), (link_file), (link_job), (create_job):
      	Support transfer of files with reserved characters to FAT. Auto-escape
      	them to the unreserved underscore character. Fixes #448148.
      
      svn path=/trunk/; revision=14438
      f952bc29
  9. 02 Aug, 2008 4 commits
    • Christian Neumair's avatar
      Never use linear selection in manual layout. · 86990ff0
      Christian Neumair authored
      2008-08-02  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c (keyboard_move_to):
      	Never use linear selection in manual layout.
      
      svn path=/trunk/; revision=14436
      86990ff0
    • Christian Neumair's avatar
      Use linear selection instead of rectangular when pressing shift, use · a47db58f
      Christian Neumair authored
      2008-08-02  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c (get_cmp_point_x),
      	(same_column_below_highest), (keyboard_move_to),
      	(keyboard_arrow_key), (is_rectangle_selection_event),
      	(keyboard_right), (keyboard_left), (keyboard_down), (keyboard_up):
      	Use linear selection instead of rectangular when pressing shift, use
      	rectangular selection using shift and control at the same time.
      	Do not wrap around vertically in horizontal layout mode, do not wrap
      	around horzontally in vertical layout mode, never wrap around during
      	rectangle selection. Fixes #338298 and #545493.
      
      svn path=/trunk/; revision=14435
      a47db58f
    • Christian Neumair's avatar
      Handle moves in the path bar hierarchy. Fixes #545941. Thanks to Diego · e213b0a3
      Christian Neumair authored
      2008-08-02  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-pathbar.c (update_button_types),
      	(button_data_file_changed), (nautilus_path_bar_check_parent_path),
      	(nautilus_path_bar_update_path), (nautilus_path_bar_set_path):
      	* src/nautilus-pathbar.h:
      	Handle moves in the path bar hierarchy. Fixes #545941.
      	Thanks to Diego Escalante Urrelo.
      
      svn path=/trunk/; revision=14434
      e213b0a3
    • Christian Neumair's avatar
      Implement visible icon handling for horizontal scrolling, i.e. vertical · 0fe54d12
      Christian Neumair authored
      2008-08-02  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(rubberband_timeout_callback), (realize),
      	(nautilus_icon_container_get_first_visible_icon),
      	(nautilus_icon_container_scroll_to_icon),
      	(nautilus_icon_container_update_visible_icons),
      	(handle_vadjustment_changed), (handle_hadjustment_changed):
      	* libnautilus-private/nautilus-icon-private.h:
      	Implement visible icon handling for horizontal scrolling, i.e.
      	vertical icon layout. This will properly scroll to the last displayed
      	icons when reloading a directory in vertical layout.
      
      svn path=/trunk/; revision=14433
      0fe54d12
  10. 31 Jul, 2008 2 commits
    • Christian Neumair's avatar
      Handle NULL string arrays, and fix combo box model reference counting. · acae33d6
      Christian Neumair authored
      2008-07-31  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-autorun.c
      	(remove_elem_from_str_array), (add_elem_to_str_array),
      	(nautilus_autorun_set_preferences), (combo_box_changed),
      	(nautilus_autorun_prepare_combo_box):
      	Handle NULL string arrays, and fix combo box model reference counting.
      	Fixes #545658.
      
      svn path=/trunk/; revision=14431
      acae33d6
    • Christian Neumair's avatar
      Only queue a redraw if widget state actually changed. Fixes massive · e6c8efa1
      Christian Neumair authored
      2008-07-31  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-tree-view-drag-dest.c
      	(set_widget_highlight):
      	Only queue a redraw if widget state actually changed. Fixes massive
      	flickering issues when dragging over list view. Fixes #524282.
      
      svn path=/trunk/; revision=14430
      e6c8efa1
  11. 30 Jul, 2008 4 commits
    • Christian Neumair's avatar
      Correctly claim that the display name for the search directory is a custom · bce5290a
      Christian Neumair authored
      2008-07-30  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-search-directory-file.c
      	(nautilus_search_directory_file_update_display_name),
      	(nautilus_search_directory_file_init):
      	Correctly claim that the display name for the search directory is a
      	custom one.
      
      svn path=/trunk/; revision=14429
      bce5290a
    • Christian Neumair's avatar
      When changing the file name, clear display name if it is not a custom one. · 1bc4138a
      Christian Neumair authored
      2008-07-30  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-file.c
      	(nautilus_file_clear_display_name), (nautilus_file_clear_info),
      	(update_info_internal), (update_name_internal):
      	When changing the file name, clear display name if it is not a custom
      	one. Custom means “not provided by GFileInfo”.
      
      svn path=/trunk/; revision=14428
      1bc4138a
    • Christian Neumair's avatar
      Open new window when control-clicking on a path bar button, open new tab · 04c606a1
      Christian Neumair authored
      2008-07-30  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-navigation-window.c
      	(path_bar_button_pressed_callback),
      	(path_bar_button_released_callback),
      	(path_bar_button_drag_begin_callback),
      	(path_bar_path_set_callback):
      	Open new window when control-clicking on a path bar button, open new
      	tab when middle-clicking on a path bar button. Fixes #545397.
      
      svn path=/trunk/; revision=14427
      04c606a1
    • Christian Neumair's avatar
      Identify to GNOME session as file manager, and not as generic desktop · 9e02482e
      Christian Neumair authored
      2008-07-30  Christian Neumair  <cneumair@gnome.org>
      
      	* nautilus.desktop.in.in:
      	Identify to GNOME session as file manager, and not as generic desktop
      	application. Fixes #525056. Matthias Clasen.
      
      svn path=/trunk/; revision=14426
      9e02482e
  12. 29 Jul, 2008 1 commit
    • David Zeuthen's avatar
      Require gio 2.17.5 for g_mount_guess_content_type(). · d99071af
      David Zeuthen authored
      2008-07-29  David Zeuthen  <davidz@redhat.com>
      
              * configure.in:
              Require gio 2.17.5 for g_mount_guess_content_type().
      
              * data/nautilus.xml.in:
              Delete x-content/* definitions; these are in shared-mime-info 0.50
              and greater.
      
              * libnautilus-private/nautilus-global-preferences.c:
              * libnautilus-private/nautilus-global-preferences.h:
              * libnautilus-private/apps_nautilus_preferences.schemas.in:
              Remove /apps/nautilus/preferences/media_autorun_x_content_ask
              and add /apps/nautilus/preferences/media_autorun_x_content_start_app
              instead since we're inverting the logic. Now, by default (except
              for x-content/software for which we're shipping an app ourselves)
              we default to asking the user what action to take.
      
              * libnautilus-private/nautilus-autorun.c:
              * libnautilus-private/nautilus-autorun.h:
              Use g_mount_guess_content_type() instead of using our own
              sniffing code. Also provide an option for the user to select
              an application to use (#532474).
      
              * src/nautilus-file-management-properties.c:
              Catch up with API changes to nautilus_autorun_prepare_combo_box()
      
      
      svn path=/trunk/; revision=14425
      d99071af
  13. 28 Jul, 2008 1 commit
    • Cosimo Cecchi's avatar
      Use standard icon name, as gnome-icon-theme no longer ships the · 979f1594
      Cosimo Cecchi authored
      2008-07-28  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* src/nautilus-file-management-properties.c:
      	(nautilus_file_management_properties_dialog_setup):
      	* src/nautilus-navigation-window.c: (real_get_icon):
      	Use standard icon name, as gnome-icon-theme no longer ships
      	the "file-manager" icon.
      	Patch by Matthias Clasen (#545062).
      
      svn path=/trunk/; revision=14418
      979f1594
  14. 24 Jul, 2008 2 commits
  15. 23 Jul, 2008 1 commit
    • Cosimo Cecchi's avatar
      Show "All" buttons in the file operations dialogs only if more than one · 82d174b1
      Cosimo Cecchi authored
      2008-07-24  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(is_all_button_text), (do_run_simple_dialog),
      	(run_simple_dialog_va), (run_error), (run_warning), (run_question),
      	(confirm_delete_from_trash), (confirm_empty_trash),
      	(confirm_delete_directly), (delete_dir), (delete_file),
      	(trash_files), (scan_dir), (scan_file), (verify_destination),
      	(create_dest_dir), (copy_move_directory),
      	(remove_target_recursively), (copy_move_file), (move_file_prepare),
      	(move_files_prepare), (link_file), (link_job), (create_job):
      	Show "All" buttons in the file operations dialogs only if more than one
      	file is involved in the process.
      	Initial patch by Christian Neumair (#518616).
      
      svn path=/trunk/; revision=14411
      82d174b1
  16. 22 Jul, 2008 4 commits
    • Christian Neumair's avatar
      Post release version bump. · ce57f412
      Christian Neumair authored
      2008-07-21  Christian Neumair  <cneumair@gnome.org>
      
      	* configure.in:
      	Post release version bump.
      
      === nautilus 2.23.5.1 ===
      
      svn path=/trunk/; revision=14409
      ce57f412
    • Christian Neumair's avatar
      Update for release. · 5bb3781b
      Christian Neumair authored
      2008-07-22  Christian Neumair  <cneumair@gnome.org>
      
      	* NEWS:
      	Update for release.
      
      svn path=/trunk/; revision=14407
      5bb3781b
    • Christian Neumair's avatar
      Revert Q_() -> C_() migration due to an intltool bug. Do not require · 414dd48d
      Christian Neumair authored
      2008-07-21  Christian Neumair  <cneumair@gnome.org>
      
      	* configure.in:
      	* src/file-manager/fm-properties-window.c
      	(value_field_update_internal):
      	Revert Q_() -> C_() migration due to an intltool bug.
      	Do not require intltool 0.36.3 (#542658).
      
      svn path=/trunk/; revision=14406
      414dd48d
    • Christian Neumair's avatar
      Update for release. · bb72b660
      Christian Neumair authored
      2008-07-22  Christian Neumair  <cneumair@gnome.org>
      
      	* NEWS:
      	Update for release.
      
      	* configure.in:
      	Change version to 2.23.5.1.
      
      svn path=/trunk/; revision=14405
      bb72b660