Commit 58a55d38 authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Cosimo Cecchi

Call setup_autos() to have the confirmation preference var always

2008-05-31  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-file-operations.c:
	(nautilus_file_operations_empty_trash):
	Call setup_autos() to have the confirmation preference var
	always initializated properly. Patch by Kai Willadsen (#535182).

svn path=/trunk/; revision=14217
parent cebbbe5d
2008-05-31 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-file-operations.c:
(nautilus_file_operations_empty_trash):
Call setup_autos() to have the confirmation preference var
always initializated properly. Patch by Kai Willadsen (#535182).
Sat May 31 03:20:11 2008 Søren Sandmann <sandmann@redhat.com>
* libnautilus-private/nautilus-directory-background.c
......
......@@ -5381,6 +5381,8 @@ nautilus_file_operations_empty_trash (GtkWidget *parent_view)
parent_window = (GtkWindow *)gtk_widget_get_ancestor (parent_view, GTK_TYPE_WINDOW);
}
setup_autos ();
job = op_job_new (EmptyTrashJob, parent_window);
job->trash_dirs = g_list_prepend (job->trash_dirs,
g_file_new_for_uri ("trash:"));
......
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