Index: main-menu/src/main-menu-ui.c
===================================================================
--- main-menu/src/main-menu-ui.c	(revision 560)
+++ main-menu/src/main-menu-ui.c	(working copy)
@@ -34,6 +34,7 @@
 #include <X11/Xlib.h>
 #include <gdk/gdkx.h>
 #include <gio/gio.h>
+#include <glib/gutils.h>
 
 #include "tile.h"
 #include "application-tile.h"
@@ -2316,7 +2317,7 @@
 		if (GTK_WIDGET (button) == priv->more_buttons [APPS_PAGE])
 			ditem_id = libslab_get_gconf_value (APP_BROWSER_GCONF_KEY);
 		else if (GTK_WIDGET (button) == priv->more_buttons [DOCS_PAGE]) {
-			dir = g_build_filename (g_get_home_dir (), "Documents", NULL);
+			dir = g_get_user_special_dir(G_USER_DIRECTORY_DOCUMENTS);
 
 			if (! g_file_test (dir, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR))
 				dir = g_strdup (g_get_home_dir ());
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 560)
+++ ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2009-04-08  Julian Andres Klode <jak@debian.org>
+
+	* main-menu/src/main-menu-ui.c
+	* libslab/bookmark-agent:
+	Use g_get_user_special_dir(G_USER_DIRECTORY_DOCUMENTS) instead of hard
+	coded g_build_filename (g_get_home_dir (), "Documents", NULL). This makes
+	it possible to use xdg-user-dirs.
+
 2009-01-26  Magnus Boman  <captain.magnus@gmail.com>
 
 	* application-browser/etc/application-browser.desktop.in.in:
Index: libslab/bookmark-agent.c
===================================================================
--- libslab/bookmark-agent.c	(revision 560)
+++ libslab/bookmark-agent.c	(working copy)
@@ -32,6 +32,7 @@
 #include <stdlib.h>
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
+#include <glib/gutils.h>
 #include <gio/gio.h>
 
 #include "libslab-utils.h"
@@ -1070,7 +1071,7 @@
 
 
 	if (! (strcmp (uri, "BLANK_SPREADSHEET") && strcmp (uri, "BLANK_DOCUMENT"))) {
-		dir = g_build_filename (g_get_home_dir (), "Documents", NULL);
+		dir = g_get_user_special_dir(G_USER_DIRECTORY_DOCUMENTS);
 
 		if (! strcmp (uri, "BLANK_SPREADSHEET")) {
 			g_bookmark_file_set_title (priv->store, uri, "BLANK_SPREADSHEET");
@@ -1136,7 +1137,7 @@
 		icon    = "gnome-fs-home";
 	}
 	else if (! strcmp (uri, "DOCUMENTS")) {
-		path = g_build_filename (g_get_home_dir (), "Documents", NULL);
+		path = g_get_user_special_dir(G_USER_DIRECTORY_DOCUMENTS);
 		name = _("Documents");
 		uri_new = g_filename_to_uri (path, NULL, NULL);
 		g_free (path);
