Commit 5fd98d6e authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Only start renaming if we have not yet been destroyed.

2008-03-22  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c
	(delayed_rename_file_hack_callback):
	Only start renaming if we have not yet been destroyed.

svn path=/trunk/; revision=13974
parent 77e934f3
2008-03-22 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-directory-view.c
(delayed_rename_file_hack_callback):
Only start renaming if we have not yet been destroyed.
2008-03-20 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-program-choosing.c:
......
......@@ -3658,8 +3658,10 @@ delayed_rename_file_hack_callback (RenameData *data)
view = data->view;
new_file = data->new_file;
EEL_CALL_METHOD (FM_DIRECTORY_VIEW_CLASS, view, start_renaming_file, (view, new_file, FALSE));
fm_directory_view_reveal_selection (view);
if (view->details->window != NULL) {
EEL_CALL_METHOD (FM_DIRECTORY_VIEW_CLASS, view, start_renaming_file, (view, new_file, FALSE));
fm_directory_view_reveal_selection (view);
}
g_object_unref (data->view);
nautilus_file_unref (data->new_file);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment