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 592666 - Document how to unset an attribute
Document how to unset an attribute
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
2.21.x
Other Linux
: Normal trivial
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-08-22 08:53 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2012-02-27 03:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
clarify how to unset a GFileInfo attribute (919 bytes, patch)
2012-02-21 11:21 UTC, David King
accepted-commit_now Details | Review
docs: Clarify how to unset a GFileInfo attribute (917 bytes, patch)
2012-02-27 03:22 UTC, Matthias Clasen
committed Details | Review

Description Ignacio Casal Quinteiro (nacho) 2009-08-22 08:53:01 UTC
To know how to unset an attribute I had to go to the nautilus code. I think would be useful having it indicated on g_file_info_set_attribute how to do that as I think it is not clear right now:

g_file_info_set_attribute (info, "attribute",
			   G_FILE_ATTRIBUTE_TYPE_INVALID,
			   NULL);
Comment 1 David King 2012-02-21 11:21:49 UTC
Created attachment 208108 [details] [review]
clarify how to unset a GFileInfo attribute
Comment 2 Matthias Clasen 2012-02-22 07:18:41 UTC
Review of attachment 208108 [details] [review]:

Looks fine to me
Comment 3 Matthias Clasen 2012-02-22 07:18:42 UTC
Review of attachment 208108 [details] [review]:

Looks fine to me
Comment 4 Matthias Clasen 2012-02-27 03:21:58 UTC
The following fix has been pushed:
3e7f426 docs: Clarify how to unset a GFileInfo attribute
Comment 5 Matthias Clasen 2012-02-27 03:22:01 UTC
Created attachment 208466 [details] [review]
docs: Clarify how to unset a GFileInfo attribute