GNOME Bugzilla – Bug 520414
Clear button in top bar
Last modified: 2009-07-29 10:46:14 UTC
I am trying to implement a clear button in the top bar of the CD/DVD Creator window. I created the button and it's callback, but I cannot figure out how to get the gio list of files to delete. Can someone help me? I am creating this as a feature request because if I can get this working I will post the patch, and if I cannot I hope someone else can do it. Idea from here: https://wiki.ubuntu.com/LittleDetails
Created attachment 106585 [details] [review] A first attempt This does not work, but I am putting it out there in hopes that someone can help. The problem is when you press the clear button it spits out some errors. (nautilus:27143): GLib-GIO-CRITICAL **: g_file_get_child: assertion `name != NULL' failed (nautilus:27143): GLib-GIO-CRITICAL **: g_file_delete: assertion `G_IS_FILE (file)' failed I would really appreciate any help, tips, and advice. I am a new programmer in c. I have mostly used ruby and python in the past.
Created attachment 106627 [details] [review] Second Attempt This actually works, except that you have to manually refresh the window after clicking clear. I am working on having it force a refresh when it is clicked. Any help?
nautilus-cd-burner has been replaced by Brasero in the GNOME 2.26 release. If your bug still applies to Brasero, please feel free to re-open the bug, and reassign it to brasero itself.