1. 20 Aug, 2008 9 commits
    • Christian Neumair's avatar
      Add helper for getting max. number of layout lines, which does not use the · f9526023
      Christian Neumair authored
      2008-08-21  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(layout_get_full_size), (draw_or_measure_label_text):
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_constructor),
      	(nautilus_icon_container_get_max_layout_lines_for_pango),
      	(nautilus_icon_container_get_max_layout_lines):
      	* libnautilus-private/nautilus-icon-container.h:
      	Add helper for getting max. number of layout lines, which does not use
      	the negative PangoLayout height convention. Use it in
      	layout_get_full_size() instead of hardcoding three lines.
      	Only connect GConf text ellipsis preferences container callbacks while
      	the containers are alive.
      
      svn path=/trunk/; revision=14510
      f9526023
    • Cosimo Cecchi's avatar
      Add context for translators. Thanks to Bob Mauchin (#548446). · 67d22e8b
      Cosimo Cecchi authored
      2008-08-21  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* src/file-manager/fm-properties-window.c:
      	(value_field_update_internal):
      	Add context for translators.
      	Thanks to Bob Mauchin (#548446).
      
      svn path=/trunk/; revision=14509
      67d22e8b
    • Cosimo Cecchi's avatar
      Fix typo in the schemas type description. Patch by F. Steinel (#548740). · 42dc0589
      Cosimo Cecchi authored
      2008-08-21  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	Fix typo in the schemas type description.
      	Patch by F. Steinel (#548740).
      
      svn path=/trunk/; revision=14508
      42dc0589
    • Christian Neumair's avatar
      Clear underlying items if text overlaps them when displaying full · 1b97f2c9
      Christian Neumair authored
      2008-08-20  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(draw_or_measure_label_text):
      	Clear underlying items if text overlaps them when displaying full
      	PangoLayout.
      
      svn path=/trunk/; revision=14507
      1b97f2c9
    • Christian Neumair's avatar
      Added release marker. · 05228c6a
      Christian Neumair authored
      svn path=/trunk/; revision=14506
      05228c6a
    • Christian Neumair's avatar
      Post release version bump. · 88b38d0b
      Christian Neumair authored
      2008-08-20  Christian Neumair  <cneumair@gnome.org>
      
      	* configure.in:
      	Post release version bump.
      
      svn path=/trunk/; revision=14505
      88b38d0b
    • Christian Neumair's avatar
      Update for release. · 62a6f5c2
      Christian Neumair authored
      2008-08-20  Christian Neumair  <cneumair@gnome.org>
      
      	* NEWS:
      	Update for release.
      
      svn path=/trunk/; revision=14503
      62a6f5c2
    • Christian Neumair's avatar
      Use vararg list for nautilus_launch_application_from_command(). Add · 34d59409
      Christian Neumair authored
      2008-08-20  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14502
      34d59409
    • Christian Neumair's avatar
      Make content type search criterion useful, by fixing typo from GIO · e9d505c9
      Christian Neumair authored
      2008-08-20  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-search-engine-simple.c
      	(visit_directory):
      	Make content type search criterion useful, by fixing typo from GIO
      	migration. Fixes #548645.
      
      svn path=/trunk/; revision=14501
      e9d505c9
  2. 18 Aug, 2008 3 commits
    • Christian Neumair's avatar
      Never ellipsise text in last line of a line-wise layout. · 715543d7
      Christian Neumair authored
      2008-08-19  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14490
      715543d7
    • Christian Neumair's avatar
      Add "icon_view/text_ellipsis_limit" and "desktop/text_ellipsis_limit". · 9286eee0
      Christian Neumair authored
      2008-08-18  Christian Neumair  <cneumair@gnome.org>
      
      	* 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.
      
      svn path=/trunk/; revision=14489
      9286eee0
    • Christian Neumair's avatar
      Raise icon when hovering with the mouse over it. · 41ea21e5
      Christian Neumair authored
      2008-08-18  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(nautilus_icon_canvas_item_event):
      	Raise icon when hovering with the mouse over it.
      
      svn path=/trunk/; revision=14488
      41ea21e5
  3. 16 Aug, 2008 7 commits
    • Christian Neumair's avatar
      Obey one-line constraint in compact mode. · 629fa925
      Christian Neumair authored
      2008-08-17  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(draw_or_measure_label_text):
      	Obey one-line constraint in compact mode.
      
      svn path=/trunk/; revision=14484
      629fa925
    • 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
  4. 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
  5. 11 Aug, 2008 1 commit
  6. 07 Aug, 2008 1 commit
  7. 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
  8. 05 Aug, 2008 3 commits
  9. 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
  10. 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
  11. 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
  12. 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