GNOME Bugzilla – Bug 661921
PlacesManager: block-scoped monitor on ~/.gtk-bookmarks is wrong
Last modified: 2011-10-18 18:04:51 UTC
Created attachment 199133 [details] [review] PlacesManager: fix ~/.gtk-bookmarks monitoring The PlacesManager class is defined in the js/ui/placeDisplay.js. There we find that upon construction of a PlacesManager, a GFileMonitor is created to watch for changes in the ~/.gtk-bookmarks file. Unfortunately, the variable that holds this monitor is block-scoped, which causes it to be destroyed as soon as the PlacesManager._init() function returns. This in turn makes the monitoring of ~/.gtk-bookmarks a problem. Please find attached a patch that attempts to fix this problem.
Review of attachment 199133 [details] [review]: Makes sense.
Do you not have a GNOME Git account?
Nope, I do not. Why?
(In reply to comment #3) > Nope, I do not. Why? Because it's marked as accepted-commit_now, which means you can push it. But since you don't have an account, I'll push for you.
Thanks for the patch!