GNOME Bugzilla – Bug 711548
GtkPlacesSidebar doesn't show unmounted bookmarks
Last modified: 2013-12-19 17:20:41 UTC
The code to add the bookmarks to the sidebar is broken when the bookmark doesn't point to a mounted volume: /* FIXME: we are getting file info synchronously. We may want to do it async at some point. */ info = g_file_query_info (root, "standard::display-name,standard::symbolic-icon", G_FILE_QUERY_INFO_NONE, NULL, NULL); /* NULL-GError */ if (info) { ..... The file info query will obviously fail for unmounted remote shares. Mounting them makes them show up.
Created attachment 259133 [details] [review] GtkPlacesSidebar: Show unmounted infos The GtkFileInfo is only used if there's no bookmark name, or to get the icon for the remote share.
Review of attachment 259133 [details] [review]: I'd use "show unmounted bookmarks" in the commit message, but other than that it looks good to me, and it fixes a glaring regression.
*** Bug 706714 has been marked as a duplicate of this bug. ***
Comment on attachment 259133 [details] [review] GtkPlacesSidebar: Show unmounted infos Missing a fallback name for unmounted share with no name set (a g_file_get_basename() might do that). Will re-spin and test it before uploading a new version.
I found a big regression in the places sidebar.
*** Bug 705055 has been marked as a duplicate of this bug. ***
Created attachment 259732 [details] [review] GtkPlacesSidebar: Show unmounted bookmarks The GtkFileInfo is only used if there's no bookmark name, or to get the icon for the remote share or local folder.
Review of attachment 259732 [details] [review]: looks right
Attachment 259732 [details] pushed as 3f5af53 - GtkPlacesSidebar: Show unmounted bookmarks
*** Bug 712273 has been marked as a duplicate of this bug. ***
*** Bug 720744 has been marked as a duplicate of this bug. ***