Bugzilla – Bug 309058
Main-Menu "Places" Items have no "Remove from Favorites"
Last modified: 2011-04-04 03:45:39 UTC
Items in the GNOME main menu's "Places" tab have no context menu item "Remove from Favorites" like the items in the "Applications" and "Documents" tabs have. That's inconsistent.
Created attachment 188332 [details] Proposed solution
* bookmarks-agent.c Changes there look fine to me. * main-menu-ui.c This code is not needed. The bookmarks-agent has a gnomevfs monitor on ~/.gtk-bookmarks and it invokes update_items, which fires a property-changed (notify::) which is handled by tile-table by reloading the table. * directory-tile.c It seems that by design the favorite places were meant to be handled as normal directories (thus the directory-tile.c use), but now we want to handle them as bookmarks. That's why we should rather have a bookmark-tile and have your code for handling bookmark specific behavior there. This would also require some refactoring (search-and-replace) to make user of the bookmark-tile and not a directory-tile in the rest of the code. Thanks for your work. Looking forward to the next iteration. :)
Also not that the directory-tile is used for recent documents, so your patch affects also those. +1 for bookmark-tile :)
Created attachment 188620 [details] Proposed solution
Still same on today's Factory Live-CD.
Reassigning to myself to review the patch.
is there a quick fix for this? - is there a file that contains the user-defined 'Places' that one could remove to get rid of the un-removable entries under 'Places'. I don't want to get rid of the stock entries.
(In reply to comment #8 from Tehmasp Chaudhri) > is there a quick fix for this? - is there a file that contains the user-defined > 'Places' that one could remove to get rid of the un-removable entries under > 'Places'. I don't want to get rid of the stock entries. You can edit ~/.gtk-bookmarks for this.
The version with which you had the bug is now obsolete. I'll close this as NORESPONSE. If you can still reproduce it in current 11.4, please reopen the bug and move it to the appropriate version. Thanks!