GNOME Bugzilla – Bug 509877
"ask before emptying the trash or deleting files" doesn't work
Last modified: 2008-02-14 10:28:54 UTC
Please describe the problem: "ask before emptying the trash or deleting files" doesn't work Steps to reproduce: 1. launch nautilus-file-management-properties 2. click Behavior tab 3. "check ask before emptying the trash or deleting files" 4. delete a file on nautilus 5. Empty Trash Actual results: Expected results: Does this happen every time? yes, always Other information: OS: Fedora development(rawhide 20080115) nautilus-2.21.5-1.fc9 gvfs-0.1.2-1.fc9 glib2-2.15.2-1.fc9
It's reproducible here, confirming.
*** Bug 516096 has been marked as a duplicate of this bug. ***
Created attachment 105089 [details] [review] Fist step: add a confirm_empty_local_trash() function Create a prompt dialog using the same primary and secondary message in current stable 2.20 (Note: applying this patch will need string freeze break approval) Next step: where should we invoke it????
Created attachment 105107 [details] [review] patch v2 I took Luca's patch and made empty_trash_job () call the dialog accordingly. This works just fine in my testing.
requested string break.
got permissions. Commiting.