1. 17 Feb, 2011 1 commit
  2. 11 Jan, 2011 5 commits
  3. 07 Dec, 2010 1 commit
  4. 04 Dec, 2010 1 commit
  5. 10 Nov, 2010 1 commit
  6. 23 Jul, 2010 1 commit
  7. 08 May, 2010 1 commit
  8. 18 Mar, 2009 1 commit
    • Cosimo Cecchi's avatar
      Unbreak typeahead find for 33% zoom level (#341708). · 18c32d0a
      Cosimo Cecchi authored
      2009-03-18  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_get_icon_text),
      	(nautilus_icon_container_search_iter),
      	(nautilus_icon_container_update_icon):
      	* libnautilus-private/nautilus-icon-container.h:
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_text):
      	Unbreak typeahead find for 33% zoom level (#341708).
      
      svn path=/trunk/; revision=15136
      18c32d0a
  9. 16 Mar, 2009 1 commit
    • Alexander Larsson's avatar
      Bug 523883 – Thumbnails for 200% zoom are regenerated each time a folder · 8bb6faf3
      Alexander Larsson authored
      2009-03-16  Alexander Larsson  <alexl@redhat.com>
      
      	Bug 523883 – Thumbnails for 200% zoom are regenerated each time a folder is opened.
      
              * libnautilus-private/nautilus-file.c:
              (nautilus_file_get_icon):
      	allow scaling up thumbnails, use the scaled up thumnail
      	for up to 25% size increase.
      
              * src/file-manager/fm-icon-container.c:
              (fm_icon_container_get_icon_images):
      	Force thumbnail size for compact view to avoid loading at wrong size
      	and then rescaling
      
      
      
      svn path=/trunk/; revision=15122
      8bb6faf3
  10. 02 Feb, 2009 1 commit
    • Cosimo Cecchi's avatar
      Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type() · 0fa45e38
      Cosimo Cecchi authored
      2009-02-02  Cosimo Cecchi  <cosimoc@pluto>
      
      	* libnautilus-extension/nautilus-column.c:
      	(nautilus_column_finalize), (nautilus_column_init),
      	(nautilus_column_class_init):
      	* libnautilus-extension/nautilus-menu.c: (nautilus_menu_finalize):
      	* libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c:
      	(nautilus_cell_renderer_pixbuf_emblem_class_init),
      	(nautilus_cell_renderer_pixbuf_emblem_finalize):
      	* libnautilus-private/nautilus-cell-renderer-text-ellipsized.c:
      	(nautilus_cell_renderer_text_ellipsized_init),
      	(nautilus_cell_renderer_text_ellipsized_class_init),
      	(nautilus_cell_renderer_text_ellipsized_get_size):
      	* libnautilus-private/nautilus-entry.c: (nautilus_entry_finalize),
      	(nautilus_entry_key_press), (nautilus_entry_motion_notify),
      	(nautilus_entry_button_press), (nautilus_entry_button_release),
      	(nautilus_entry_selection_clear), (nautilus_entry_class_init):
      	* libnautilus-private/nautilus-file.c: (nautilus_file_init),
      	(nautilus_file_constructor), (finalize),
      	(nautilus_file_class_init):
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_update),
      	(nautilus_icon_canvas_item_class_init):
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_new):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-mime-application-chooser.c:
      	(nautilus_mime_application_chooser_finalize),
      	(nautilus_mime_application_chooser_destroy),
      	(nautilus_mime_application_chooser_class_init),
      	(nautilus_mime_application_chooser_init):
      	* libnautilus-private/nautilus-open-with-dialog.c:
      	(nautilus_open_with_dialog_finalize),
      	(nautilus_open_with_dialog_destroy),
      	(nautilus_open_with_dialog_class_init),
      	(nautilus_open_with_dialog_init):
      	* src/file-manager/fm-icon-container.c:
      	* src/file-manager/fm-list-model.c: (fm_list_model_dispose),
      	(fm_list_model_finalize), (fm_list_model_class_init):
      	* src/file-manager/fm-tree-model.c: (fm_tree_model_finalize),
      	(fm_tree_model_class_init):
      	Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type()
      	functions where possible.
      
      svn path=/trunk/; revision=14911
      0fa45e38
  11. 06 Oct, 2008 1 commit
    • Cosimo Cecchi's avatar
      Use G_DEFINE_TYPE instead of libgnome macros. · 81629457
      Cosimo Cecchi authored
      2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>
      
              * libnautilus-private/nautilus-bookmark.c:
              * libnautilus-private/nautilus-desktop-directory.c:
              * libnautilus-private/nautilus-icon-container.c:
              * libnautilus-private/nautilus-merged-directory.c:
              * libnautilus-private/nautilus-module.c:
              * libnautilus-private/nautilus-module.h:
              * libnautilus-private/nautilus-search-directory.c:
              * libnautilus-private/nautilus-signaller.c:
              * libnautilus-private/nautilus-tree-view-drag-dest.c:
              * src/file-manager/fm-icon-container.c:
              * src/nautilus-application.c:
              * src/nautilus-desktop-window.c:
              * src/nautilus-file-management-properties-main.c:
              * src/nautilus-zoom-control.c:
      	Use G_DEFINE_TYPE instead of libgnome macros.
      
      
      svn path=/trunk/; revision=14686
      81629457
  12. 10 Sep, 2008 1 commit
    • Christian Neumair's avatar
      Use eel_preferences_add_auto_string_array_as_quarks(), instead of · 73489fb4
      Christian Neumair authored
      2008-09-10  Christian Neumair  <cneumair@gnome.org>
      
      	* src/file-manager/fm-icon-container.c
      	(fm_icon_container_get_icon_text_attributes_from_preferences):
      	Use eel_preferences_add_auto_string_array_as_quarks(), instead of
      	registering a custom callback function - which is not guaranteed to be
      	run before other (instance) callbacks. Thanks to Cosimo Cecchi for the
      	problem analysis. Fixes #551576.
      
      	* configure.in:
      	Depend on eel 2.24.0.
      
      svn path=/trunk/; revision=14613
      73489fb4
  13. 29 Mar, 2008 1 commit
    • 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
  14. 22 Jan, 2008 1 commit
    • Alexander Larsson's avatar
      Add attribute_q property that is the Quark of the attribute property. · 36481d7c
      Alexander Larsson authored
      2008-01-22  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-extension/nautilus-column.c:
      	Add attribute_q property that is the Quark
      	of the attribute property.
      	
              * src/file-manager/fm-icon-container.c:
              * src/file-manager/fm-list-model.[ch]:
              * src/file-manager/fm-list-view.c:
      	Use the quark versions of the string attribute
      	calls for better performance.
      
      
      svn path=/trunk/; revision=13642
      36481d7c
  15. 14 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Only use <gio/gio.h> include · 6559286c
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-bookmark.c:
              * libnautilus-private/nautilus-bookmark.h:
              * libnautilus-private/nautilus-desktop-icon-file.c:
              * libnautilus-private/nautilus-desktop-link-monitor.c:
              * libnautilus-private/nautilus-desktop-link.c:
              * libnautilus-private/nautilus-desktop-link.h:
              * libnautilus-private/nautilus-directory-private.h:
              * libnautilus-private/nautilus-directory.h:
              * libnautilus-private/nautilus-emblem-utils.h:
              * libnautilus-private/nautilus-file-changes-queue.h:
              * libnautilus-private/nautilus-file-operations.c:
              * libnautilus-private/nautilus-file-operations.h:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file-utilities.h:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-file.h:
              * libnautilus-private/nautilus-icon-info.c:
              * libnautilus-private/nautilus-icon-info.h:
              * libnautilus-private/nautilus-link.c:
              * libnautilus-private/nautilus-mime-actions.h:
              * libnautilus-private/nautilus-mime-application-chooser.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-monitor.h:
              * libnautilus-private/nautilus-open-with-dialog.c:
              * libnautilus-private/nautilus-open-with-dialog.h:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-program-choosing.h:
              * libnautilus-private/nautilus-progress-info.h:
              * libnautilus-private/nautilus-recent.h:
              * libnautilus-private/nautilus-search-directory.c:
              * libnautilus-private/nautilus-search-engine-simple.c:
              * libnautilus-private/nautilus-trash-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.h:
              * libnautilus-private/nautilus-ui-utilities.c:
              * libnautilus-private/nautilus-view-factory.h:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-directory-view.h:
              * src/file-manager/fm-icon-container.c:
              * src/file-manager/fm-icon-view.c:
              * src/file-manager/fm-tree-model.h:
              * src/file-manager/fm-tree-view.c:
              * src/nautilus-application.c:
              * src/nautilus-application.h:
              * src/nautilus-bookmark-list.c:
              * src/nautilus-bookmark-list.h:
              * src/nautilus-desktop-window.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-pathbar.c:
              * src/nautilus-pathbar.h:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-property-browser.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-window-menus.c:
      	Only use <gio/gio.h> include 
      
      
      svn path=/trunk/; revision=13529
      6559286c
  16. 11 Dec, 2007 1 commit
    • David Zeuthen's avatar
      Update for API changes in gio trunk. · 6b62b6df
      David Zeuthen authored
      2007-12-11  David Zeuthen  <davidz@redhat.com>
      
      	Update for API changes in gio trunk.
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	(update_info_from_link):
      	* libnautilus-private/nautilus-desktop-link-monitor.c:
      	(volume_delete_dialog), (volume_file_name_used),
      	(create_mount_link), (mount_added_callback),
      	(mount_removed_callback), (mount_changed_callback),
      	(desktop_volumes_visible_changed),
      	(nautilus_desktop_link_monitor_init),
      	(desktop_link_monitor_finalize):
      	* libnautilus-private/nautilus-desktop-link.c:
      	(nautilus_desktop_link_new),
      	(nautilus_desktop_link_new_from_mount),
      	(nautilus_desktop_link_get_mount), (desktop_link_finalize):
      	* libnautilus-private/nautilus-desktop-link.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	(custom_mount_to_string), (custom_mount_skip),
      	(unmount_mount_callback), (do_unmount), (get_trash_dirs_for_mount),
      	(has_trash_files), (nautilus_file_operations_unmount_mount):
      	* libnautilus-private/nautilus-file-operations.h:
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_get_volume_name):
      	* src/file-manager/fm-icon-container.c: (get_sort_category):
      	* src/file-manager/fm-tree-model.c: (fm_tree_model_add_root_uri),
      	(fm_tree_model_get_mount_for_root_node_file),
      	(fm_tree_model_remove_root_uri):
      	* src/file-manager/fm-tree-model.h:
      	* src/file-manager/fm-tree-view.c: (add_root_for_mount),
      	(mount_added_callback), (mount_removed_callback),
      	(button_pressed_callback), (fm_tree_view_unmount_cb),
      	(create_tree):
      	* src/nautilus-application.c: (nautilus_application_instance_init),
      	(mount_added_callback), (mount_removed_callback):
      	* src/nautilus-pathbar.c:
      	(nautilus_path_bar_update_button_appearance),
      	(is_file_path_mounted_mount), (find_button_type),
      	(make_directory_button):
      	* src/nautilus-places-sidebar.c: (add_place), (update_places),
      	(mount_added_callback), (mount_removed_callback),
      	(mount_changed_callback), (volume_added_callback),
      	(volume_removed_callback), (volume_changed_callback),
      	(drive_changed_callback), (bookmarks_popup_menu_detach_cb),
      	(check_visibility), (bookmarks_check_popup_sensitivity),
      	(volume_mount_cb), (open_selected_bookmark), (mount_shortcut_cb),
      	(unmount_shortcut_cb), (eject_shortcut_cb),
      	(drive_poll_for_media_cb), (rescan_shortcut_cb),
      	(bookmarks_build_popup_menu), (nautilus_places_sidebar_init),
      	(nautilus_places_sidebar_set_parent_window):
      
      
      svn path=/trunk/; revision=13520
      6b62b6df
  17. 30 Nov, 2007 1 commit
  18. 31 Jan, 2007 1 commit
    • Alexander Larsson's avatar
      Avoid crashing if not enough items in icon view caption pref (#357955) · a60e2aa8
      Alexander Larsson authored
      2007-01-31  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-file-management-properties.c (update_icon_captions_from_gconf):
      	Avoid crashing if not enough items in icon view caption pref (#357955)
      
      	* src/file-manager/fm-icon-container.c (fm_icon_container_get_icon_text):
      	Avoid spewing warnings in above case, also some performance fixes.	
      
      
      svn path=/trunk/; revision=12711
      a60e2aa8
  19. 04 Dec, 2006 1 commit
  20. 16 May, 2006 1 commit
  21. 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
  22. 18 Mar, 2006 1 commit
  23. 10 Dec, 2005 1 commit
    • Federico Mena Quintero's avatar
      Fixes bug #322957: · c5b2c29f
      Federico Mena Quintero authored
      2005-12-09  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes bug #322957:
      
      	Add a "Network Servers" icon on the desktop, which takes you to network:///
      
      	* libnautilus-private/nautilus-global-preferences.h
      	(NAUTILUS_PREFERENCES_DESKTOP_NETWORK_VISIBLE): New preference
      	name.  This determines whether we show the "Network Servers" icon.
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in: Add a
      	schema for /apps/nautilus/desktop/network_visible; the default is true.
      
      	* libnautilus-private/nautilus-desktop-link.h
      	(NautilusDesktopLinkType): Add a NAUTILUS_DESKTOP_LINK_NETWORK type.
      
      	* libnautilus-private/nautilus-desktop-link.c
      	(nautilus_desktop_link_new): Support NAUTILUS_DESKTOP_LINK_NETWORK.
      
      	* libnautilus-private/nautilus-desktop-link-monitor.c
      	(NautilusDesktopLinkMonitorDetails): Added a network_link field.
      	(nautilus_desktop_link_monitor_delete_link): Don't delete
      	NAUTILUS_DESKTOP_LINK_NETWORK links.
      	(update_link_visibility): New helper function.
      	(desktop_home_visible_changed): Use update_link_visibility(), to
      	avoid duplicated code.
      	(desktop_computer_visible_changed): Likewise.
      	(desktop_trash_visible_changed): Likewise.
      	(desktop_network_visible_changed): New function.
      	(create_link_and_add_preference): New helper function.
      	(nautilus_desktop_link_monitor_init): Use
      	create_link_and_add_preference() to avoid duplicated code.  Also,
      	create the network_link.
      	(desktop_link_monitor_finalize): Unref the network_link.
      	(remove_link_and_preference): New helper function.
      	(desktop_link_monitor_finalize): Use remove_link_and_preference()
      	to avoid duplicated code.  Also, free the network_link.
      
      	* src/file-manager/fm-icon-container.c (SortCategory): Add a
      	SORT_NETWORK_LINK category right before SORT_MOUNT_LINK, so that
      	the "Network Servers" icon appears before mounts.
      	(get_sort_category): Use SORT_NETWORK_LINK as the category for
      	NAUTILUS_DESKTOP_LINK_NETWORK.
      c5b2c29f
  24. 22 Feb, 2005 1 commit
    • Alexander Larsson's avatar
      Handle nautilus_desktop_icon_file_get_link() returning NULL. Likely fixes · 80d81ac5
      Alexander Larsson authored
      2005-02-22  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	* libnautilus-private/nautilus-file-operations.c:
      	(nautilus_file_operations_delete):
      	* libnautilus-private/nautilus-file.c: (nautilus_file_can_rename),
      	(rename_guts), (nautilus_file_get_drop_target_uri):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(trash_link_is_selection):
      	* src/file-manager/fm-icon-container.c: (get_sort_category):
      	* src/file-manager/fm-properties-window.c:
      	(get_target_file_for_original_file):
      	Handle nautilus_desktop_icon_file_get_link() returning NULL.
      	Likely fixes bug #145971
      80d81ac5
  25. 18 Dec, 2003 1 commit
    • Alexander Larsson's avatar
      Require gtk/glib 2.3.0 · 72aa6695
      Alexander Larsson authored
      2003-12-18  Alexander Larsson  <alexl@redhat.com>
      
      	* configure.in:
      	Require gtk/glib 2.3.0
      
      	* libnautilus-private/nautilus-directory.c:
      	Use gobject private data for details
      
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.[ch]:
      	Use gobject private data for details
      	Add has_open_window flag and setter/getter
      
      	* libnautilus-private/nautilus-icon-container.[ch]:
      	* src/file-manager/fm-icon-container.c:
      	Support visiting modifier for icons with open windows
      
      	* src/file-manager/fm-directory-view.c:
      	Don't use filename extension in templates name
      
      	* src/file-manager/fm-list-model.c:
      	Support accept and visiting icon modifiers
      
      	* src/file-manager/fm-list-view.c:
      	Always set the drag_view on the model so that the accept
      	modifier works
      
      	* src/nautilus-window.c: (nautilus_window_set_viewed_file):
      	Set has_open_window on file
      72aa6695
  26. 03 Dec, 2003 2 commits
    • Alexander Larsson's avatar
      Fix const missing build failure. · 9c6d06d8
      Alexander Larsson authored
      2003-12-03  Alexander Larsson  <alexl@redhat.com>
      
      	* src/file-manager/fm-icon-container.c
      	(fm_icon_container_get_icon_description):
      	Fix const missing build failure.
      9c6d06d8
    • Padraig O'Briain's avatar
      Return TRUE when function succeeds. · 2a1f721c
      Padraig O'Briain authored
      2003-12-03  Padraig O'Briain  <padraig.obriain@sun.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_accessible_action_set_description): Return
      	TRUE when function succeeds.
      	(nautilus_icon_canvas_item_accessible_get_name): If name has been set
      	using atk_object_set_name return that.
      	(nautilus_icon_canvas_item_accessible_finalize): Free image description
      	or description if exists.
      	(nautilus_icon_canvas_item_accessible_get_image_description): Return
      	icon description, if it exists.
      	(nautilus_icon_canvas_item_accessible_set_image-description):
      	Implement this function.
      
      	* libnautilus-private/nautrilus-icon-container.[ch]:
      	(nautilus_icon_container_get_icon_description): New function.
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_description): New function to implement
      	NautilusIconContainerClass's get_icon_description.
      
      	This fixes part of bug #126183.
      2a1f721c
  27. 21 Nov, 2003 1 commit
  28. 06 Nov, 2003 1 commit
    • Alexander Larsson's avatar
      New desktop files · e162b7dc
      Alexander Larsson authored
      2003-11-06  Alexander Larsson  <alexl@redhat.com>
      
      	* Makefile.am:
      	* nautilus-computer.desktop.in:
      	* nautilus-home.desktop.in:
      	New desktop files
      
      	* nautilus.desktop.in:
      	Make this one "browse filesystem"
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.c:
      	* libnautilus-private/nautilus-global-preferences.h:
      	computer desktop icon prefs
      
      	* libnautilus-private/nautilus-desktop-icon-file.c:
      	(update_info_from_link): Set permissions too
      
      	* libnautilus-private/nautilus-desktop-link-monitor.c:
      	* libnautilus-private/nautilus-desktop-link.[ch]:
      	Add computer icon
      
      	* src/Makefile.am:
      	* src/nautilus-connect-server-dialog.[ch]:
      	Connect server dialog
      
      	* src/file-manager/fm-directory-view.c:
      	Mount drives on activation.
      
      	* src/file-manager/fm-icon-container.c:
      	Sort computer first
      
      	* src/file-manager/fm-properties-window.c:
      	Put back NautilusDesktopLink handling for e.g. computer and home.
      
      	* src/nautilus-application.[ch]:
      	Reload dirs on mounts.
      	add browser_window argument on open window
      
      	* src/nautilus-main.c:
      	add browser_window argument on open window (--browser)
      	hack to register computer icon
      
      	* src/nautilus-shell-interface.idl:
      	* src/nautilus-shell.c:
      	add browser_window argument on open window
      
      	* src/nautilus-navigation-window-ui.xml:
      	* src/nautilus-spatial-window-ui.xml:
      	* src/nautilus-window-menus.c:
      	Add connect to server
      	Add computer
      
      	* src/nautilus-window.c:
      	Nice title for burn:///
      e162b7dc
  29. 15 May, 2003 1 commit
    • Alexander Larsson's avatar
      Added new files. · 11958681
      Alexander Larsson authored
      2003-05-15  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/Makefile.am:
      	Added new files.
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.[ch]:
      	New prefs for home and trash links.
      
      	* libnautilus-private/nautilus-desktop-directory.[ch]:
      	New files. Implements the NautilusDesktop object for the
      	virtual x-nautilus-desktop: uri. The directory merges the contents
      	of the directory with the real desktop directory.
      
      	* libnautilus-private/nautilus-desktop-directory-file.[ch]:
      	New files. Implements the Nautilusfile corresponding to
      	NautilusDestkopDirectory.
      
      	* libnautilus-private/nautilus-desktop-icon-file.[ch]:
      	New files.
      	Implement NautilusFile for a virtual file in a NautilusDesktopDirectory.
      	Gets all the actual file data from a NautilusDesktopLink.
      
      	* libnautilus-private/nautilus-desktop-link-monitor.[ch]:
      	New files.
      	Keep track of home and trash visibility prefs and mounted volumes and
      	create/destroy corresponding NautilusDesktopLink object.
      
      	* libnautilus-private/nautilus-desktop-link.[ch]:
      	New files.
      	Keeps track of all the real information in a desktop icon link.
      	These are home, trash and volume links at the moment.
      
      	* libnautilus-private/nautilus-directory-async.c:
      	Indentation correction.
      
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_new):
      	Create NautilusDesktopDirectory objects for x-nautilus-desktop: uris
      
      	* libnautilus-private/nautilus-dnd.c: (nautilus_drag_items_local):
      	Handle NULL GnomeVFSURIs.
      	(nautilus_drag_items_on_desktop): New function to check if items
      	are on the desktop.
      	(nautilus_drag_default_drop_action_for_icons):
      	Special case desktop uris.
      	(nautilus_drag_selection_includes_special_link):
      	Convert from old-style special links to current.
      
      	* libnautilus-private/nautilus-dnd.h:
      	New function nautilus_drag_items_on_desktop.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(is_special_link), (nautilus_file_operations_copy_move):
      	Convert from old-style special links to current.
      	(nautilus_file_operations_delete):
      	Special case desktop links
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(nautilus_get_desktop_directory):
      	(nautilus_get_gmc_desktop_directory):
      	Change desktop dir to ~/Desktop
      	(nautilus_get_desktop_directory_uri):
      	New function to return desktop dir as a uri.
      
      
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri),
      	(nautilus_file_get_internal):
      	Handle creation of desktop icon files.
      	(nautilus_file_can_rename), (rename_guts),
      	(nautilus_file_get_drop_target_uri):
      	Update for new special links.
      	(nautilus_file_is_in_desktop):
      	Update for new desktop dir.
      	(nautilus_file_get_uri):
      	Fix uris for self owned files. This changed due to
      	the new canonicalization rules for foo:
      
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(nautilus_icon_container_selection_items_local),
      	(handle_nonlocal_move):
      	Handle desktop uri.
      
      	* src/Nautilus_shell.server.in:
      	icon view handles x-nautilus-desktop: uris
      
      	* src/nautilus-application.c: (finish_startup):
      	Initialize the desktop link monitor
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_update_directory):
      	Show x-nautilus-desktop:
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_finalize), (fm_desktop_icon_view_init),
      	(volume_ops_callback), (trash_link_is_selection),
      	(volume_link_is_selection), (volume_link_device_type),
      	(real_supports_zooming):
      
      	* src/file-manager/fm-directory-view.c:
      	Remove lots of old support for desktop icon.
      	Reimplement some of it with the new desktop icon support.
      
      	* src/file-manager/fm-directory-view.h:
      	New function fm_directory_view_get_backing_uri
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_text):
      	Don't show extra text for desktop icons
      	(get_sort_category): Update for new desktop icons
      
      	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
      	Use get_backing_uri()
      
      	* src/file-manager/fm-properties-window.c: (get_target_file):
      	Use the new desktop icon support.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(lay_down_icons_tblr):
      	Don't loop forever if icon doesn't in the height of the container.
      11958681
  30. 02 Apr, 2003 1 commit
    • Alexander Larsson's avatar
      Convert file attributes from list of strings to a bitmask. Patch from · 4e04c0a0
      Alexander Larsson authored
      2003-04-02  Alexander Larsson  <alexl@redhat.com>
      
      	* components/notes/nautilus-notes.c:
      	* components/tree/nautilus-tree-model.c:
      	* components/tree/nautilus-tree-view.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory-background.c:
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-directory.c:
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-file-attributes.h:
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.c: (rename_callback),
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-icon-factory.c:
      	* libnautilus-private/nautilus-icon-factory.h:
      	* libnautilus-private/nautilus-link.c:
      	* libnautilus-private/nautilus-merged-directory.c:
      	* libnautilus-private/nautilus-mime-actions.c:
      	* libnautilus-private/nautilus-mime-actions.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* libnautilus-private/nautilus-trash-file.c:
      	* libnautilus-private/nautilus-trash-monitor.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* libnautilus-private/nautilus-vfs-file.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-icon-container.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/nautilus-applicable-views.c:
      	* src/nautilus-information-panel.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.c:
      	* test/test-nautilus-mime-actions-set.c:
      	* test/test-nautilus-mime-actions.c:
      
      	Convert file attributes from list of strings to a bitmask.
      	Patch from andersca@codefactory.se.
      4e04c0a0
  31. 12 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      Keep track of whether the file is being thumbnailed. If it is at · b15f2dbe
      Alexander Larsson authored
      2003-03-12  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.c: (finalize),
      	(nautilus_file_invalidate_attributes_internal),
      	(nautilus_file_is_thumbnailing),
      	(nautilus_file_set_is_thumbnailing):
      	* libnautilus-private/nautilus-file.h:
      	Keep track of whether the file is being thumbnailed.
      	If it is at finalization, remove from the thumbnail queue.
      
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c:
      	(redo_layout_internal), (realize),
      	(nautilus_icon_container_instance_init),
      	(nautilus_icon_container_prioritize_thumbnailing),
      	(nautilus_icon_container_prioritize_thumbnailing_for_visible_icons)
      	, (handle_vadjustment_changed):
      	Prioritize thumbnailing for icons visibile on the screen.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	(show_thumbnails_changed_callback):
      	Remove all thumbnails from queue when thumbnails are disabled.
      
      	* libnautilus-private/nautilus-thumbnails.h:
      	* libnautilus-private/nautilus-thumbnails.c: (free_thumbnail_info),
      	(nautilus_thumbnail_remove_from_queue),
      	(nautilus_thumbnail_remove_all_from_queue),
      	(nautilus_thumbnail_prioritize),
      	(thumbnail_thread_notify_file_changed),
      	(nautilus_create_thumbnail), (thumbnail_thread_start):
      	New functions to remove thumbnails from the queue and to prioritize them.
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_prioritize_thumbnailing),
      	(fm_icon_container_class_init):
      	Implement prioritize_thumbnailing.
      b15f2dbe
  32. 06 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      Update according to NautilusIconFactory API changes. · 5c02e4a9
      Alexander Larsson authored
      2003-03-06  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-bookmark.c:
      	(nautilus_bookmark_get_pixbuf), (nautilus_bookmark_update_icon):
      	* libnautilus-private/nautilus-emblem-utils.c:
      	(nautilus_emblem_rename_emblem):
      	* src/nautilus-sidebar-title.c: (update_emblems):
      	* src/file-manager/fm-directory-view.c: (ready_to_load):
      	Update according to NautilusIconFactory API changes.
      
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_peek_top_left_text),
      	(nautilus_file_get_top_left_text):
      	Add needs_loading out parameter to nautilus_file_peek_top_left_text.
      
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_set_embedded_text_rect),
      	(nautilus_icon_canvas_item_set_embedded_text),
      	(draw_embedded_text), (nautilus_icon_canvas_item_draw):
      	Render embedded text on exposes.
      	(nautilus_icon_canvas_item_get_image):
      	Return a GdkPixmap + mask instead of pixbuf, so that
      	we can do the text rendering on it.
      
      	* libnautilus-private/nautilus-icon-private.h:
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_clear), (icon_destroy),
      	(nautilus_icon_container_get_icon_images),
      	(nautilus_icon_container_start_monitor_top_left),
      	(nautilus_icon_container_stop_monitor_top_left),
      	(nautilus_icon_container_update_icon):
      	For icons that have an embedded text rect, request the
      	top-left text, and set the text on the canvas item.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(nautilus_icon_dnd_begin_drag):
      	nautilus_icon_canvas_item_get_image now returns a pixmap, handle this
      	change.
      
      	* libnautilus-private/nautilus-icon-factory.h:
      	* libnautilus-private/nautilus-icon-factory.c: (cache_key_destroy),
      	(nautilus_icon_factory_get_required_file_attributes),
      	(get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon),
      	(cache_key_hash), (cache_key_equal),
      	(nautilus_icon_factory_get_pixbuf_for_file),
      	(nautilus_icon_factory_get_pixbuf_from_name),
      	(nautilus_icon_factory_remove_from_cache):
      	Remove all embedded text handling.
      	(nautilus_icon_factory_get_basic_file_attributes):
      	Remove, not needed anymore.
      	(nautilus_icon_factory_get_icon_for_file):
      	Pass in whether you want icons for text embedding or not.
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_images),
      	(fm_icon_container_start_monitor_top_left),
      	(fm_icon_container_stop_monitor_top_left),
      	(fm_icon_container_class_init):
      	Update to new APIs. pass TRUE for embedd_text in get_icon_for_file.
      	Implement start/stop top left monitoring.
      
      	* src/file-manager/fm-icon-view.c:
      	(list_covers),(fm_icon_view_clear):
      	Clear the icon container before unreferencing the NautilusFiles.
      	Otherwise the stop_monitor call uses the unref:ed file.
      5c02e4a9
  33. 18 Oct, 2002 1 commit
    • Alexander Larsson's avatar
      Remove type checks, was showing up in profiles. · b3be7b7c
      Alexander Larsson authored
      2002-10-18  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file.c (nautilus_file_compare_for_sort_internal):
      	* src/file-manager/fm-icon-view.c (fm_icon_view_compare_files):
      	* src/file-manager/fm-icon-container.c (get_icon_view):
      	Remove type checks, was showing up in profiles.
      
      	* libnautilus-private/nautilus-directory.c (nautilus_directory_notify_files_added):
      	Don't leak directory_uri
      b3be7b7c
  34. 18 Sep, 2002 1 commit
  35. 07 Aug, 2002 1 commit
    • Michael Meeks's avatar
      pass in info if we have it already. · 94c8b8b8
      Michael Meeks authored
      2002-08-07  Michael Meeks  <michael@ximian.com>
      
              * libnautilus-private/nautilus-file.c
              (nautilus_file_can_rename): pass in info if we
              have it already.
      
              * src/file-manager/fm-desktop-icon-view.c
              (update_trash_link_and_delete_copies),
              (update_home_link_and_delete_copies),
              (delete_all_mount_links): kill in favour of
              (update_desktop_directory): so we don't stat / mime
              sniff everything 3+ times.
              (update_link_and_delete_copies): push this method and
              it's file / sniff loop upwards.
      
              * src/file-manager/fm-directory-view.c
              (special_link_in_selection): upd.
              (fm_directory_link_type_in_selection): kill, unused.
      
              * libnautilus-private/nautilus-link.c
              (get_link_style_for_local_file): operate on the passed
              in GnomeVFSInfo if we have it.
      
              * libnautilus-private/nautilus-dnd.c
              (nautilus_drag_selection_includes_special_link): upd
              for efficiency.
      94c8b8b8