Index: src/lb-module-files.c =================================================================== --- src/lb-module-files.c (revision 627) +++ src/lb-module-files.c (working copy) @@ -75,9 +75,7 @@ { GObjectClass *object_class = G_OBJECT_CLASS (klass); LbModuleClass *module_class = LB_MODULE_CLASS (klass); - GConfClient *client; - gboolean desktop_is_home; - gchar *desktop; + const gchar *desktop; gchar *uri; parent_class = g_type_class_peek_parent (klass); @@ -89,15 +87,11 @@ module_class->query = module_files_query; module_class->add_actions = module_files_add_actions; - client = gconf_client_get_default(); - desktop_is_home = gconf_client_get_bool(client, "/apps/nautilus/preferences/desktop_is_home_dir", NULL); - - desktop = g_build_filename (g_get_home_dir (), desktop_is_home ? NULL : "Desktop", NULL); + desktop = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP); + if (desktop == NULL) + desktop = g_get_home_dir (); uri = g_filename_to_uri (desktop, NULL, NULL); - g_free (desktop); - g_object_unref(client); - g_object_class_install_property (object_class, PROP_DIR_URI, g_param_spec_string ("dir-uri", NULL, NULL, Index: configure.ac =================================================================== --- configure.ac (revision 627) +++ configure.ac (working copy) @@ -44,6 +44,7 @@ dnl ----------------------------------------------------------- PKG_CHECK_MODULES(LB,[ + glib-2.0 >= 2.14 gtk+-2.0 >= 2.10 gnome-vfs-2.0 >= 2.10 libgnomeui-2.0