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 360932 - gnome_url_show_with_env doesn't interpret GNOME_VFS_ERROR_NOT_FOUND error condition
gnome_url_show_with_env doesn't interpret GNOME_VFS_ERROR_NOT_FOUND error con...
Status: RESOLVED FIXED
Product: libgnome
Classification: Deprecated
Component: general
2.16.x
Other Linux
: Normal enhancement
: ---
Assigned To: libgnome maintainer
libgnome maintainer
Depends on:
Blocks: 359727
 
 
Reported: 2006-10-09 16:18 UTC by Daniel Drake
Modified: 2006-10-15 16:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
fix (428 bytes, patch)
2006-10-09 16:19 UTC, Daniel Drake
committed Details | Review

Description Daniel Drake 2006-10-09 16:18:12 UTC
GNOME_VFS_ERROR_NOT_FOUND is returned when you try and open a non-existent file with gnome_vfs_url_show_with_env()

As some apps (e.g. tomboy in bug #359727) present the message from the GError to the user, it would be nice to have something other than "Unknown error code: 1" here
Comment 1 Daniel Drake 2006-10-09 16:19:34 UTC
Created attachment 74365 [details] [review]
fix

If acceptable, I can commit this.
Comment 2 Kjartan Maraas 2006-10-15 09:57:58 UTC
Looks good to me.