Commit graph

6941 commits

Author SHA1 Message Date
Alexander Larsson 5cd6fbd1ea The row might have disappeared if it was removed since the timeout was
2006-10-18  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-list-model.c (change_dummy_row_callback):
	The row might have disappeared if it was removed since the
	timeout was scheduled. Protect against this. (#336051)
2006-10-18 10:43:45 +00:00
Alexander Larsson 72f44fb060 Add is_added flag to NautilusFile to make sure we always send an added
2006-10-18  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file-private.h:
	Add is_added flag to NautilusFile to make sure we always
	send an added event to directory monitors.

	* libnautilus-private/nautilus-directory-async.c:
	(dequeue_pending_idle_callback):
	Don't add the file to both added and changed list
	If the file exist but hasn't been added yet, add it.

	* libnautilus-private/nautilus-directory.c: (is_tentative):
	Don't return non-added files for get_file_list to avoid duplicating
	files if you do a list and then track adds.

	Partially fixes #336051.
2006-10-18 10:13:26 +00:00
Alexander Larsson b268ab8008 Call nautilus_file_mark_gone instead of directly setting is_gone, as this
2006-10-17  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-async.c (get_info_callback,
	dequeue_pending_idle_callback):
	Call nautilus_file_mark_gone instead of directly setting is_gone, as
	this allows us to clean up the symlink hash.

	* libnautilus-private/nautilus-file.c (nautilus_file_mark_gone):
	Allow multiple mark_gone. Just ignore any but the first.
2006-10-17 10:31:56 +00:00
Alexander Larsson d0d2004f2e Ref all files when emitting change signals. This is an unverified possible
2006-10-17  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory.c
	(emit_change_signals_for_all_files):
	Ref all files when emitting change signals. This is
	an unverified possible fix for #343488, but it
	can't possibly be bad to do this, so i'm
	commiting it.
2006-10-17 10:08:14 +00:00
Alexander Larsson a68380ef06 nautilus_file_get_vfs_file_info: handle NULL info Fix typo.
2006-10-17  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c:
	nautilus_file_get_vfs_file_info: handle NULL info
	Fix typo.
2006-10-17 10:01:17 +00:00
Alexander Larsson 00fc4f02fb Don't cause critical if slow mimetype not loaded. I was able to get that
2006-10-17  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-program-choosing.c (nautilus_launch_show_file):
	Don't cause critical if slow mimetype not loaded.
	I was able to get that with a circular symlink.
	In that case a fast mimetype should be ok.
2006-10-17 09:57:36 +00:00
Alexander Larsson 9944292d04 i2006-10-02 Alexander Larsson <alexl@redhat.com>
* configure.in:
	Post release version bump

=== nautilus 2.16.1 ===
2006-10-02 11:43:38 +00:00
Alexander Larsson 71b2d199c7 Update for release
2006-10-02  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release

	* configure.in:
	Bump to 2.16.1
2006-10-02 11:23:48 +00:00
Alexander Larsson 50fc09bf28 In non-indexed mode, start at current dir.
2006-10-02  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-navigation-window.c (search_bar_activate_callback):
	In non-indexed mode, start at current dir.
2006-10-02 10:53:58 +00:00
Christian Neumair b0dfe57324 Add is_in_trash_state to NautilusDirectoryDetails. Also add
2006-09-27  Christian Neumair  <chris@gnome-de.org>

	* libnautilus-private/nautilus-directory.c:
	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-directory-private.h:
	Add is_in_trash_state to NautilusDirectoryDetails.
	Also add nautilus_directory_is_in_trash which works
	like nautilus_directory_is_local.

	* libnautilus-private/nautilus-file.c:
	Proxy nautilus_file_is_in_trash to
	nautilus_directory_is_in_trash, similar to
	nautilus_file_is_local.
2006-09-27 16:02:39 +00:00
Christian Neumair b8fa3923a1 Handle CORBA errors. Fixes #46664.
2006-09-14  Christian Neumair  <chris@gnome-de.org>

	* libnautilus-private/nautilus-metafile.c: Handle CORBA errors.
	Fixes #46664.
2006-09-14 18:25:03 +00:00
Martin Wehner 87e3e0e617 Don't use the same type name for the shortcut model filter as
2006-09-13  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c:
	Don't use the same type name for the shortcut model filter as
	GtkFileChooser to avoid name clashes. Fixes #355242.

	Patch from Stephen Cook <siti@orcon.net.nz>
2006-09-13 20:09:19 +00:00
Alexander Larsson 882e81f1e3 Bump version to 2.16.0
2006-09-04  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Bump version to 2.16.0

	* NEWS:
	Update for release
2006-09-04 09:39:40 +00:00
Alexander Larsson 8c4cdae969 Handle enter activation when using typeahead search (#334928) Patch from
2006-08-25  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-list-view.c:
	Handle enter activation when using typeahead search (#334928)
	Patch from Nelson Benitez
2006-08-25 07:54:43 +00:00
Alexander Larsson 8caca8515f Cache return value from gnome_vfs_uri_is_local
2006-08-23  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_is_local):
	Cache return value from gnome_vfs_uri_is_local

	* libnautilus-private/nautilus-file-operations.c:
	* libnautilus-private/nautilus-file-utilities.c:
	Avoid using gnome_vfs_uri_is_local.
2006-08-23 09:07:16 +00:00
Alexander Larsson 59fd4702e3 Post release version bump
2006-08-22  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== nautilus 2.15.92.1 ===
2006-08-22 08:44:18 +00:00
Alexander Larsson 44a2af31fd Fix double free
2006-08-22  Alexander Larsson  <alexl@redhat.com>

	* libbackground/preferences.c:
	Fix double free

	* configure.in:
	Release a 2.15.92.1 with fix
2006-08-22 08:36:25 +00:00
Alexander Larsson a166f7891a post release version bump 2006-08-21 16:21:53 +00:00
Alexander Larsson 9c565da0a2 Update for release
2006-08-21  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release
2006-08-21 16:11:57 +00:00
Alexander Larsson 0bcbbace97 Don't crash when quickly changing user or group. Patch from Christian
2006-08-21  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-properties-window.c:
	Don't crash when quickly changing user or group.
	Patch from Christian Neumair
2006-08-21 09:42:22 +00:00
Alexander Larsson d43d500a06 Fix double free. Patch from Rouslan Solomakhin
2006-08-17  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-recent.c (nautilus_recent_add_file):
	Fix double free.
	Patch from Rouslan Solomakhin
2006-08-17 10:11:17 +00:00
Federico Mena Quintero 806b7fb7b4 Call setlocale() before we try to obtain any translations. Fixes bug
2006-08-15  Federico Mena Quintero  <federico@novell.com>

	* src/nautilus-main.c (main): Call setlocale() before we try to
	obtain any translations.  Fixes bug #342147.  Patch by Stanislav
	Brabec <sbrabec@suse.cz>.
2006-08-15 20:23:12 +00:00
Kjartan Maraas 79924a157b Fix intltool req.
2006-08-15  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Fix intltool req.
2006-08-15 12:12:25 +00:00
Alexander Larsson 52fd555dfb Post release version bump
2006-08-08  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== nautilus 2.15.91 ===
2006-08-08 15:26:13 +00:00
Alexander Larsson a84cae2e4b Update for release
2006-08-08  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release

	* configure.in:
	Require new eel.
2006-08-08 15:13:51 +00:00
Vincent Untz b118d11e9f Use GTK+ to handle recent documents.
2006-08-08  Vincent Untz  <vuntz@gnome.org>

	Use GTK+ to handle recent documents.

	* configure.in: require GTK+ 2.10
	* cut-n-paste-code/libegg/Makefile.am:
	* cut-n-paste-code/libegg/egg-recent-*: kill
	* libnautilus-private/nautilus-recent.[ch]: (nautilus_recent_get_model):
	renamed to nautilus_recent_get_manager()
	(nautilus_recent_add_uri): new, to make it easier to use
	gtk_recent_manager_add_full()
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_launch_application): use nautilus_recent_add_uri()
	instead of old egg code
	(activate_callback): ditto
2006-08-08 14:43:25 +00:00
Alexander Larsson 15d4f2e0ea Follow symlinks when reading .hidden files.
2006-08-08  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-async.c (read_dot_hidden_file):
	Follow symlinks when reading .hidden files.
2006-08-08 14:15:27 +00:00
Alexander Larsson 3043e2bd69 Do background change comparison in eel instead (#349961) Patch from
2006-08-08  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-background.c:
	Do background change comparison in eel instead (#349961)
	Patch from Matthias Clasen
2006-08-08 14:09:07 +00:00
Alexander Larsson 639a1486d9 Fix down when in the rightmost column in the next to last row (#316117)
2006-08-08  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c:
	Fix down when in the rightmost column in the next to last row (#316117)
	Based on patch from Nelson Benitez
2006-08-08 13:34:22 +00:00
Alexander Larsson 4549b3ce97 Handle desktop drops from panel. (#347673) Patch from Christian Neumair
2006-08-08  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file-operations.c:
	Handle desktop drops from panel. (#347673)
	Patch from Christian Neumair
2006-08-08 09:16:56 +00:00
Martin Wehner b778c61e17 Revert patch from #336051 as it breaks the file update machinery. Fixes
2006-08-04  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-directory-async.c:
	(dequeue_pending_idle_callback): Revert patch from #336051
	as it breaks the file update machinery. Fixes #348097.
2006-08-04 21:50:25 +00:00
Christian Neumair bef04d9306 Rename nautilus_drag_default_drop_action_for_url to
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.
2006-07-27 21:58:42 +00:00
Alexander Larsson 15e1a7fc2b Translate the selinux context from raw form when displayin.
2006-07-25  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c (nautilus_file_get_selinux_context):
	Translate the selinux context from raw form when displayin.
2006-07-25 14:18:03 +00:00
Alexander Larsson c7a0a93b37 Import the latest EggSequence which supposedly fixes a bunch of bugs.
2006-07-25  Alexander Larsson  <alexl@redhat.com>

	* cut-n-paste-code/gsequence/gsequence.[ch]:
	Import the latest EggSequence which supposedly fixes a
	bunch of bugs.

	* src/file-manager/fm-list-model.c:
	Fix to use new function names of EggSequence
2006-07-25 13:55:50 +00:00
Martin Wehner 3e8cceab31 Post-release version bump
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* configure.in:
	Post-release version bump
2006-07-25 01:45:34 +00:00
Martin Wehner 57d64012a9 === nautilus 2.15.90 ===
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* NEWS:
	Update for release

	* configure.in:
	Require eel 2.15.90
2006-07-25 01:40:59 +00:00
Martin Wehner bc2cfb17f8 Unref GnomeProgram at the end. (#348429)
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-main.c: (main):
	Unref GnomeProgram at the end. (#348429)

	Patch from Christian Persch <chpe@gnome.org>
2006-07-25 01:00:13 +00:00
Martin Wehner d9df41bb09 Remove the "always use text-entry location bar" checkbox from the
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-file-management-properties.c:
	(nautilus_file_management_properties_dialog_setup):
	* src/nautilus-file-management-properties.glade:
	Remove the "always use text-entry location bar" checkbox from the
	preferences page.

	* src/nautilus-navigation-window.[ch]: (location_button_create),
	(nautilus_navigation_window_instance_init),
	(nautilus_navigation_window_destroy):
	Add a tooltip to the new location bar toggle button.
2006-07-25 00:39:38 +00:00
Martin Wehner 0221234fa7 Add a translator comment for permission combo box labels. (#347764)
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* src/file-manager/fm-properties-window.c:
	(permission_combo_update): Add a translator comment for
	permission combo box labels. (#347764)

	Patch from Hendrik Richter  <hendi@gnome-de.org>
2006-07-25 00:04:17 +00:00
Martin Wehner 0db0e582e1 Add a location_button field.
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-window-private.h (NautilusNavigationWindowDetails):
	Add a location_button field.

	* src/nautilus-navigation-window.c
	(nautilus_navigation_window_instance_init): Create the
	location_button.
	(location_button_toggled_cb): New callback.  Changes the
	preference for toggling between the path bar and the location bar.
	(always_use_location_entry_changed): Toggle the button as
	appropriate.

	Add a button to the location bar to toggle betwen the path bar
	and a location entry. (#347991)

	Patch from Federico Mena Quintero  <federico@novell.com>
2006-07-24 23:57:24 +00:00
Martin Wehner 6efe58f5fb Use trash icons from the icon naming specification for trash related
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-icon-factory.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/fm-tree-view.c: (create_popup_menu):
	* src/nautilus-window-menus.c:
	Use trash icons from the icon naming specification for trash
	related operations. (#340321)

	Patch from Rodney Dawes  <dobey@novell.com>
2006-07-24 23:40:48 +00:00
Martin Wehner 61b45379e1 Take the sidebar as parameter and refilter it after adding.
2006-07-25  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c: (add_place), (update_places):
	Take the sidebar as parameter and refilter it after adding.

	(reorder_bookmarks): Implement reordering of bookmarks.

	(drag_data_delete_callback), (drag_data_received_callback),
	(drag_motion_callback): Handle dragging of tree rows.

	(nautilus_places_sidebar_init)
	(_shortcuts_model_filter_class_init),
	(_shortcuts_model_filter_init),
	(shortcuts_model_filter_row_draggable),
	(shortcuts_model_filter_drag_data_get),
	(shortcuts_model_filter_drag_source_iface_init),
	(shortcuts_model_filter_new):
	Implement GtkTreeDragSource.

	(get_selected_iter), (bookmarks_check_popup_sensitivity),
	(loading_uri_callback): Use the filter model.

	Enable reordering of bookmarks in the places sidebar via
	Drag'n'Drop. (#319022)

	Patch from Xavier Claessens <xclaesse@gmail.com>
2006-07-24 22:45:37 +00:00
Martin Wehner 18922c2a9f Check whether daemon is running as beagle_client_new doesn't fail when a
2006-07-24  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-search-engine-beagle.c:
	(nautilus_search_engine_beagle_new): Check whether daemon is
	running as beagle_client_new doesn't fail when a stale socket
	file exists.

	Patch from Jürg Billeter <j@bitron.ch>
2006-07-24 22:01:45 +00:00
Martin Wehner 0a9fe18765 Add extension versioning infrastructure and add nautilus-menu.[ch].
2006-07-24  Martin Wehner  <martin.wehner@gmail.com>

	* configure.in:
	* libnautilus-extension/Makefile.am:
	Add extension versioning infrastructure and add nautilus-menu.[ch].

	* libnautilus-extension/nautilus-menu-item.[ch]:
	Add and handle a 'menu' property and add a function
	nautilus_menu_item_set_submenu.

	* libnautilus-extension/nautilus-menu.[ch]:
	New files implementing a submenu item.

	* src/file-manager/fm-directory-view.c: (add_extension_menu_items),
	(reset_extension_actions_menu):
	Add extension menu items recursively.

	* libnautilus-extension/nautilus-menu-provider.h:
	Update include.

	Extend extension API to support submenus. (#314579)

	Patch from Raffaele Sandrini  <rasa@gmx.ch>
2006-07-24 21:38:26 +00:00
Martin Wehner 7db9a3a9d4 Post-release version bump
2006-07-11  Martin Wehner  <martin.wehner@gmail.com>

	* configure.in:
	Post-release version bump
2006-07-11 22:21:14 +00:00
Martin Wehner 013dcce844 === nautilus 2.15.4 ===
2006-07-11  Martin Wehner  <martin.wehner@gmail.com>

	* NEWS:
	Update for release

	* configure.in:
	Bump version to 2.15.4
	Require eel 2.15.4
2006-07-11 03:00:00 +00:00
Martin Wehner b7e69e709d Never add a file to both the added_files and changed_files lists. Don't
2006-07-11  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-directory-async.c:
	(dequeue_pending_idle_callback): Never add a file to both
	the added_files and changed_files lists. Don't ref an existing
	file without adding it to the changed_file list. (#336051)

	Patch from Christian Neumair  <chris@gnome-de.org>
2006-07-11 01:55:30 +00:00
Martin Wehner 293e7cd0ef Add functions nautilus_drag_can_accept_files and
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>
2006-07-11 00:57:47 +00:00
Christian Neumair 092c35cb8e Add nautilus_find_existing_uri_in_hierarchy. Remove undefined
2006-07-08  Christian Neumair  <chris@gnome-de.org>

	* libnautilus-private/nautilus-file-utilities.c:
	* libnautilus-private/nautilus-file-utilities.h:
	Add nautilus_find_existing_uri_in_hierarchy.
	Remove undefined in_gnome_path helper declarations.

	* src/nautilus-pathbar.c:
	* src/nautilus-pathbar.h:
	Make nautilus_path_bar_clear_buttons public.

	* src/nautilus-window-manage-views.c: (viewed_file_changed_callback):
	If the displayed location was removed, and it has an existing parent,
	navigate window to this parent. Fixes #336724.
2006-07-08 08:38:17 +00:00
William Jon McCann 5d211e8bb9 Use nautilus-cd-burner icon instead of gnome-dev-cdrom for burn:///.
2006-07-06  William Jon McCann  <mccann@jhu.edu>

	* libnautilus-private/nautilus-icon-factory.c:
	(get_special_icon_for_file):
	* src/nautilus-window-menus.c:
	Use nautilus-cd-burner icon instead of gnome-dev-cdrom
	for burn:///.
2006-07-07 15:38:12 +00:00