1. 30 Apr, 2008 1 commit
    • Andrew Walton's avatar
      Replace g_return_*() with g_assert() in private, internal functions. · a9b02ab3
      Andrew Walton authored
      2008-04-30  A. Walton  <awalton@gnome.org>
      
      	* libnautilus-private/nautilus-clipboard.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory.c:
      	* libnautilus-private/nautilus-entry.c:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-horizontal-splitter.c:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-users-groups-cache.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* src/nautilus-emblem-sidebar.c:
      	* src/nautilus-file-management-properties.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.c:
      	* src/nautilus-zoom-control.c:
      	Replace g_return_*() with g_assert() in private, internal
      	functions. Closes #530321.
      
      
      svn path=/trunk/; revision=14114
      a9b02ab3
  2. 26 Apr, 2008 1 commit
    • Christian Neumair's avatar
      Properly handle selection changes when using keyboard navigation. We did · a6f7e3a2
      Christian Neumair authored
      2008-04-27  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(emit_atk_focus_tracker_notify), (set_keyboard_focus),
      	(select_range), (select_one_unselect_others), (rubberband_select),
      	(keyboard_move_to):
      	Properly handle selection changes when using keyboard navigation. We
      	did not emit a "selection-change" signal when keyboard rubberbanding
      	was used, and all except one icon were deselected. Fixes #509432.
      	Thanks to Paweł Paprota.
      
      svn path=/trunk/; revision=14092
      a6f7e3a2
  3. 03 Apr, 2008 1 commit
  4. 02 Apr, 2008 1 commit
    • Christian Neumair's avatar
      Subtract 1 from icon rectangle's x2/y2 positions before setting scroll · a5cf591c
      Christian Neumair authored
      2008-04-02  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_update_scroll_region),
      	(lay_down_icons_horizontal), (get_max_icon_dimensions),
      	(lay_down_icons_vertical),
      	(nautilus_icon_container_start_renaming_selected_item),
      	(nautilus_icon_container_is_layout_vertical):
      	* libnautilus-private/nautilus-icon-container.h:
      	* src/nautilus-window.c
      	(nautilus_window_set_initial_window_geometry):
      	Subtract 1 from icon rectangle's x2/y2 positions before setting scroll
      	area since the entire canvas codes requests 1 px more than it needs.
      	Wrap when the icon hits the canvas, rather than wrapping to late.
      	Fixes most of the "text besides icons" glitches.
      
      	Add container padding on the RHS for vertical layout, and consider
      	max. emblem rectangles when deciding whether to wrap. This may wrap
      	slightly to early in some (high zoom level) situations, but we will
      	never get scroll glitches.
      
      svn path=/trunk/; revision=14025
      a5cf591c
  5. 31 Mar, 2008 1 commit
  6. 30 Mar, 2008 1 commit
    • Christian Neumair's avatar
      For column layout, do not limit text width if each columns determines its · 4d712979
      Christian Neumair authored
      2008-03-31  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(create_label_layout),
      	(nautilus_icon_canvas_item_get_max_text_width):
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_start_renaming_selected_item):
      	For column layout, do not limit text width if each columns determines
      	its own width.
      
      svn path=/trunk/; revision=14009
      4d712979
  7. 29 Mar, 2008 2 commits
    • Christian Neumair's avatar
      Added compact view. · b19cc767
      Christian Neumair authored
      2008-03-29  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.c
      	(nautilus_global_preferences_get_default_folder_viewer_preference_a
      	s_iid):
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(create_label_layout),
      	(nautilus_icon_canvas_item_get_max_text_width):
      	* libnautilus-private/nautilus-icon-container.c
      	(lay_down_one_column), (get_max_icon_dimensions),
      	(lay_down_icons_vertical), (lay_down_icons_vertical_desktop),
      	(lay_down_icons), (size_allocate),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_set_layout_mode),
      	(nautilus_icon_container_start_renaming_selected_item),
      	(nautilus_icon_container_set_forced_icon_size),
      	(nautilus_icon_container_set_all_columns_same_width):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-private.h:
      	* libnautilus-private/nautilus-metadata.h:
      	* src/file-manager/fm-icon-container.c
      	(fm_icon_container_get_icon_images),
      	(fm_icon_container_get_icon_text):
      	* src/file-manager/fm-icon-view.c
      	(get_stored_icon_position_callback),
      	(fm_icon_view_supports_manual_layout),
      	(fm_icon_view_supports_tighter_layout), (update_layout_menus),
      	(fm_icon_view_real_set_directory_sort_reversed),
      	(fm_icon_view_get_directory_auto_layout),
      	(fm_icon_view_real_get_directory_auto_layout),
      	(fm_icon_view_set_directory_auto_layout),
      	(fm_icon_view_real_set_directory_auto_layout),
      	(fm_icon_view_real_set_directory_tighter_layout),
      	(real_supports_manual_layout), (get_default_zoom_level),
      	(set_labels_beside_icons), (set_columns_same_width),
      	(fm_icon_view_begin_loading), (fm_icon_view_set_zoom_level),
      	(fm_icon_view_zoom_to_level),
      	(fm_icon_view_restore_default_zoom_level),
      	(default_zoom_level_changed_callback),
      	(all_columns_same_width_changed_callback),
      	(fm_icon_view_set_property), (fm_icon_view_class_init),
      	(fm_icon_view_get_id), (fm_icon_view_init), (fm_icon_view_create),
      	(fm_compact_view_create), (fm_icon_view_is_compact),
      	(fm_icon_view_register):
      	* src/file-manager/fm-icon-view.h:
      	* src/nautilus-file-management-properties.c
      	(nautilus_file_management_properties_dialog_setup):
      	* src/nautilus-file-management-properties.glade:
      	Added compact view.
      
      svn path=/trunk/; revision=14003
      b19cc767
    • Cosimo Cecchi's avatar
      Add support for "Invert Selection". Patch by Amos Brocco · 47229472
      Cosimo Cecchi authored
      2008-03-29  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_invert_selection):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-view.c:
      	(nautilus_view_invert_selection):
      	* libnautilus-private/nautilus-view.h:
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c:
      	(action_invert_selection_callback),
      	(fm_directory_view_invert_selection), (real_update_menus),
      	(fm_directory_view_class_init):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_invert_selection),
      	(fm_icon_view_class_init):
      	* src/file-manager/fm-list-view.c: (fm_list_view_invert_selection),
      	(fm_list_view_class_init):
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	Add support for "Invert Selection". Patch by Amos Brocco
      	<amos.brocco@unifr.ch>. (#305295).
      
      svn path=/trunk/; revision=13999
      47229472
  8. 06 Mar, 2008 1 commit
    • Alexander Larsson's avatar
      Remove dead code · abd66001
      Alexander Larsson authored
      2008-03-06  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-icon-container.c:
              (nautilus_icon_container_update_icon):
      	Remove dead code
      	
              * libnautilus-private/nautilus-icon-info.c:
              (nautilus_icon_info_lookup):
      	Resize custom icons (#513102)
      
      
      
      svn path=/trunk/; revision=13891
      abd66001
  9. 25 Feb, 2008 1 commit
    • Alexander Larsson's avatar
      Fixes the icon position when creating a new folder, and the view is · 1719a524
      Alexander Larsson authored
      2008-02-25  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-icon-container.[ch]:
              * src/file-manager/fm-directory-view.[ch]:
              * src/file-manager/fm-icon-view.c:
      	Fixes the icon position when creating a new folder,
      	and the view is zoomed.
      	Patch from Christian Neumair
      
      
      svn path=/trunk/; revision=13815
      1719a524
  10. 22 Feb, 2008 1 commit
    • Chrustian Neumair's avatar
      Add nautilus_icon_container_get_selected_icons(). Use icon as range · e961c159
      Chrustian Neumair authored
      2008-02-22  Chrustian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_get_selected_icons),
      	(nautilus_icon_container_get_selected_icon_locations),
      	(stop_rubberbanding): Add
      	nautilus_icon_container_get_selected_icons(). Use icon as range
      	selection base if it has been rubberbanded. Fixes #512894.
      
      svn path=/trunk/; revision=13804
      e961c159
  11. 30 Nov, 2007 1 commit
  12. 12 Nov, 2007 1 commit
    • Alexander Larsson's avatar
      Handle RTL layout of icons (#342009) Patch from Yair Hershkovitz · 28f882c2
      Alexander Larsson authored
      2007-11-12  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-icon-canvas-item.c:
              * libnautilus-private/nautilus-icon-container.c:
              * libnautilus-private/nautilus-icon-container.h:
              * libnautilus-private/nautilus-icon-dnd.c:
              * libnautilus-private/nautilus-icon-private.h:
              * src/file-manager/fm-desktop-icon-view.c:
              * src/file-manager/fm-icon-view.c:
      	Handle RTL layout of icons (#342009)
      	Patch from Yair Hershkovitz
      
      
      svn path=/trunk/; revision=13413
      28f882c2
  13. 03 Oct, 2007 1 commit
  14. 10 Sep, 2007 1 commit
    • Alexander Larsson's avatar
      Add nautilus_thumbnail_load_image_async and cancel. · 5f089363
      Alexander Larsson authored
      2007-09-10  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-thumbnails.[ch]:
              Add nautilus_thumbnail_load_image_async and cancel.
      
              * libnautilus-private/nautilus-icon-container.c:
              * libnautilus-private/nautilus-icon-factory.[ch]:
              Load thumbnails asynchronously
      
              Patch from Christian Neumair
      
      
      svn path=/trunk/; revision=13137
      5f089363
  15. 22 Aug, 2007 1 commit
    • Alexander Larsson's avatar
      The icon theme changed how the sizes of the emblem icons are used, update · 585a0c27
      Alexander Larsson authored
      2007-08-22  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-icon-container.c:
              * libnautilus-private/nautilus-icon-factory.c:
              * libnautilus-private/nautilus-icon-factory.h:
              * src/file-manager/fm-list-model.c:
              * src/nautilus-sidebar-title.c:
      	The icon theme changed how the sizes of the emblem icons
      	are used, update to comply with that.
      
      
      svn path=/trunk/; revision=13100
      585a0c27
  16. 14 May, 2007 1 commit
    • Alexander Larsson's avatar
      Bump to 2.19.2 · ef285e7b
      Alexander Larsson authored
      2007-05-14  Alexander Larsson  <alexl@redhat.com>
      
      	* NEWS: 
      	* configure.in: 
      	Bump to 2.19.2
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	Fix up checks
      	
      
      
      svn path=/trunk/; revision=12888
      ef285e7b
  17. 02 Mar, 2007 1 commit
    • Alexander Larsson's avatar
      Sparse cleanups from kjartan · ef3034fa
      Alexander Larsson authored
      2007-03-02  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-icon-canvas-item.c:
              * libnautilus-private/nautilus-icon-container.c:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-trash-file.c:
              * libnautilus-private/nautilus-tree-view-drag-dest.c:
              * src/file-manager/fm-desktop-icon-view.c:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-list-model.c:
              * src/file-manager/fm-list-view.c:
              * src/file-manager/fm-tree-model.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-navigation-bar.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-search-bar.c:
              * src/nautilus-window-private.h:
      	Sparse cleanups from kjartan
      
      
      svn path=/trunk/; revision=12780
      ef3034fa
  18. 06 Feb, 2007 1 commit
  19. 08 Dec, 2006 1 commit
    • Alexander Larsson's avatar
      Draw selection rect using cairo. · fceec4c0
      Alexander Larsson authored
      2006-12-08  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-private.h:
      	Draw selection rect using cairo.
      
      	* icons/Makefile.am:
      	* icons/text-selection-frame.png:
      	Remove old icon used for selection rect.
      
      	Patch from Gene Z. Ragan
      fceec4c0
  20. 04 Dec, 2006 1 commit
  21. 30 Nov, 2006 1 commit
  22. 28 Nov, 2006 1 commit
  23. 23 Nov, 2006 1 commit
    • Alexander Larsson's avatar
      · 378823d2
      Alexander Larsson authored
      2006-11-23  Alexander Larsson  <alexl@redhat.com>
      
      	* Commit federicos debug logging patch:
      378823d2
  24. 20 Nov, 2006 1 commit
  25. 06 Nov, 2006 2 commits
    • Federico Mena Quintero's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=330298 · fb0ea9c6
      Federico Mena Quintero authored
      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.
      fb0ea9c6
    • Alexander Larsson's avatar
      Cancel rubberbanding if we get a grab shadow event. This happens when a · 270f44ec
      Alexander Larsson authored
      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)
      270f44ec
  26. 18 Oct, 2006 1 commit
  27. 08 Aug, 2006 1 commit
  28. 27 Jul, 2006 1 commit
    • Christian Neumair's avatar
      Rename nautilus_drag_default_drop_action_for_url to · bef04d93
      Christian Neumair authored
      2006-07-25  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-dnd.c:
      	Rename nautilus_drag_default_drop_action_for_url to
      	nautilus_drag_default_drop_action_for_netscape_url.
      	Don't offer netscape URL drags.
      
      	* libnautilus-private/nautilus-dnd.h: Rename
      	NAUTILUS_ICON_DND_URL(_TYPE) to NAUTILUS_ICON_DND_NETSCAPE_URL(_TYPE)
      	and nautilus_drag_default_drop_action_for_url to
      	nautilus_drag_default_drop_action_for_netscape_url.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(nautilus_file_operations_new_file_from_template):
      	Filter out special URIs, handle gnome_vfs_uri_new() failure.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(test_uri_exists), (nautilus_ensure_unique_file_name):
      	Handle gnome_vfs_uri_new() failure by returning NULL.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-container.h:
      	Rename HANDLE_URL signal to HANDLE_NETSCAPE_URL.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-icon-dnd.h:
      	* libnautilus-private/nautilus-tree-view-drag-dest.c:
      	* libnautilus-private/nautilus-tree-view-drag-dest.h:
      	Don't offer netscape URL drags, prefer netscape URL drops over
      	"text/uri-list" drops. Also rename DND_URL symbols to DND_NETSCAPE_URL.
      
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	(nautilus_link_desktop_file_local_create):
      	Handle trash, desktop and search URIs, handle
      	NULL retval of nautilus_ensure_unique_file_name.
      
      	* src/nautilus-location-bar.c:
      	* src/nautilus-spatial-window.c:
      	* src/file-manager/fm-list-model.c:
      	Don't offer/handle netscape URL drags.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view:
      	Rename DND_URL symbols to DND_NETSCAPE_URL.
      
      	Should fix #347673.
      bef04d93
  29. 11 Jul, 2006 1 commit
    • Martin Wehner's avatar
      Add functions nautilus_drag_can_accept_files and · 293e7cd0
      Martin Wehner authored
      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>
      293e7cd0
  30. 15 May, 2006 1 commit
    • Martin Wehner's avatar
      Cleanup to merge the x any y icon scale factors into one variable. · 3da30c8a
      Martin Wehner authored
      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>
      3da30c8a
  31. 18 Apr, 2006 1 commit
    • Alexander Larsson's avatar
      Add LARGE_TOP_LEFT_TEXT attribute and change the text size for the normal · d870f63e
      Alexander Larsson authored
      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.
      d870f63e
  32. 18 Mar, 2006 1 commit
    • Martin Wehner's avatar
      Use gi18n.h instead of deprecated gnome-i18n.h header. · cb131b9c
      Martin Wehner authored
      2006-03-18  Martin Wehner  <martin.wehner@gmail.com>
      
      	* libnautilus-private/*.c:
      	* src/file-manager/*.c:
      	* src/*.c:
      	Use gi18n.h instead of deprecated gnome-i18n.h header.
      
      	* libnautilus-private/nautilus-query.c:
      	(nautilus_query_to_readable_string):
      	Mark string for translation.
      
      	* po/POTFILES.in:
      	Add nautilus-query.c
      
      	Patch from Wouter Bolsterlee <uws+gnome@xs4all.nl>
      cb131b9c
  33. 03 Mar, 2006 1 commit
  34. 28 Feb, 2006 1 commit
    • Christian Neumair's avatar
      Use better icon points for comparing the position of two items in "Text · 4ca1660a
      Christian Neumair authored
      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.
      4ca1660a
  35. 27 Feb, 2006 2 commits
    • Alexander Larsson's avatar
      Correctly handle *_margins as pixel values, not world-coords. · 0ac7625a
      Alexander Larsson authored
      2006-02-27  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-icon-container.c:
      	Correctly handle *_margins as pixel values, not world-coords.
      0ac7625a
    • Federico Mena Quintero's avatar
      Do not place icons both in the no_position_icons and semi_position_icons · 5c260529
      Federico Mena Quintero authored
      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.
      5c260529
  36. 06 Feb, 2006 1 commit
  37. 29 Jan, 2006 1 commit