After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 520414 - Clear button in top bar
Clear button in top bar
Status: RESOLVED OBSOLETE
Product: nautilus-cd-burner
Classification: Deprecated
Component: cd-burner
2.21.x
Other All
: Normal enhancement
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
Depends on: 512864
Blocks:
 
 
Reported: 2008-03-04 23:42 UTC by William
Modified: 2009-07-29 10:46 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
A first attempt (2.68 KB, patch)
2008-03-05 01:52 UTC, William
none Details | Review
Second Attempt (2.83 KB, patch)
2008-03-05 16:16 UTC, William
none Details | Review

Description William 2008-03-04 23:42:56 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
Comment 1 William 2008-03-05 01:52:24 UTC
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.
Comment 2 William 2008-03-05 16:16:26 UTC
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?
Comment 3 Bastien Nocera 2009-07-29 10:46:14 UTC
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.