Commit d0d8005e authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Fix up kde trash hack to look in global config also.

2004-04-14  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-application.c (initialize_kde_trash_hack):
	Fix up kde trash hack to look in global config also.
parent 593458ab
2004-04-14 Alexander Larsson <alexl@redhat.com>
* src/nautilus-application.c (initialize_kde_trash_hack):
Fix up kde trash hack to look in global config also.
2004-04-14 Soeren Sandmann Pedersen <ssp@localhost.localdomain>
* src/file-manager/fm-list-model.c (fm_list_model_get_value):
......
......@@ -443,6 +443,14 @@ initialize_kde_trash_hack (void)
g_free (kde_conf_file);
g_free (key);
if (kde_trash_dir == NULL) {
kde_conf_file = "/usr/share/config/kdeglobals";
key = g_strconcat ("=", kde_conf_file, "=/Paths/Trash", NULL);
kde_trash_dir = gnome_config_get_string_with_default (key, &def);
gnome_config_drop_file (kde_conf_file);
g_free (key);
}
if (kde_trash_dir != NULL) {
basename = g_path_get_basename (kde_trash_dir);
g_free (kde_trash_dir);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment