From b9f0158278627040ac4060ec974d583657f635ed Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 5 May 2012 15:34:34 -0400 Subject: [PATCH] placeDisplay: use new bookmark file location GTK+ 3.5 is placing the bookmarks file in $XDG_CONFIG_HOME/gtk-3.0/bookmarks. Adapt to that change. https://bugzilla.gnome.org/show_bug.cgi?id=675443 --- js/ui/placeDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/placeDisplay.js b/js/ui/placeDisplay.js index 9c1352c40..8441282c5 100644 --- a/js/ui/placeDisplay.js +++ b/js/ui/placeDisplay.js @@ -189,7 +189,7 @@ const PlacesManager = new Lang.Class({ this._volumeMonitor.connect('drive-changed', Lang.bind(this, this._updateDevices)); this._updateDevices(); - this._bookmarksPath = GLib.build_filenamev([GLib.get_home_dir(), '.gtk-bookmarks']); + this._bookmarksPath = GLib.build_filenamev([GLib.get_user_config_dir(), 'gtk-3.0', 'bookmarks']); this._bookmarksFile = Gio.file_new_for_path(this._bookmarksPath); this._monitor = this._bookmarksFile.monitor_file(Gio.FileMonitorFlags.NONE, null); this._bookmarkTimeoutId = 0;