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 575999 - No wrapping of g_get_user_special_dir
No wrapping of g_get_user_special_dir
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Paul Pogonyshev
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-19 19:13 UTC by Christian Fredrik Kalager Schaller
Modified: 2009-04-21 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Wrap the requested function and GUserDirectory constants (2.87 KB, patch)
2009-04-19 19:40 UTC, Paul Pogonyshev
accepted-commit_now Details | Review
the same plus three similar functions and documentation (13.66 KB, patch)
2009-04-20 20:29 UTC, Paul Pogonyshev
committed Details | Review

Description Christian Fredrik Kalager Schaller 2009-03-19 19:13:07 UTC
It would be really nice if the python functions around g_get_user_special_dir was wrapped also so I could use them in my application, currently hardcoding $HOME/Videos, which I feel is very suboptimal.
Comment 1 Paul Pogonyshev 2009-04-19 19:40:22 UTC
Created attachment 132916 [details] [review]
Wrap the requested function and GUserDirectory constants

Should we also wrap other g_get_user_*_dir() functions?  Basically, the policy was that we don't wrap functions that duplicate Python standard library.  However, I'm not even sure what is present there and what is not.
Comment 2 Paul Pogonyshev 2009-04-20 20:29:05 UTC
Created attachment 132988 [details] [review]
the same plus three similar functions and documentation