From 8ab63766b2ba5f42088fa7b3ace23331fa233c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Wauthy?= <pollux@xfce.org> Date: Wed, 13 Oct 2004 20:12:27 +0000 Subject: [PATCH] fix #394 (Old svn revision: 12064) --- mcs-plugin/xfwm4_shortcuteditor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcs-plugin/xfwm4_shortcuteditor.c b/mcs-plugin/xfwm4_shortcuteditor.c index d84edac3e..08945c669 100644 --- a/mcs-plugin/xfwm4_shortcuteditor.c +++ b/mcs-plugin/xfwm4_shortcuteditor.c @@ -989,7 +989,7 @@ savetreeview_in_theme (gchar * theme_file, gpointer data) fclose (file); - if (!g_str_has_prefix (theme_file, "/usr")) + if (g_str_has_prefix (theme_file, xfce_get_homedir ())) { if (unlink (theme_file)) { -- GitLab