18 lines
883 B
Plaintext
18 lines
883 B
Plaintext
$OpenBSD: patch-capplets_appearance_appearance-desktop_c,v 1.1 2011/04/21 10:20:27 ajacoutot Exp $
|
|
--- capplets/appearance/appearance-desktop.c.orig Thu Apr 21 11:48:31 2011
|
|
+++ capplets/appearance/appearance-desktop.c Thu Apr 21 11:48:23 2011
|
|
@@ -639,10 +639,10 @@ wp_create_filechooser (AppearanceData *data)
|
|
|
|
start_dir = g_get_home_dir ();
|
|
|
|
- if (g_file_test ("/usr/share/backgrounds", G_FILE_TEST_IS_DIR)) {
|
|
+ if (g_file_test ("${LOCALBASE}/share/backgrounds", G_FILE_TEST_IS_DIR)) {
|
|
gtk_file_chooser_add_shortcut_folder (data->wp_filesel,
|
|
- "/usr/share/backgrounds", NULL);
|
|
- start_dir = "/usr/share/backgrounds";
|
|
+ "${LOCALBASE}/share/backgrounds", NULL);
|
|
+ start_dir = "${LOCALBASE}/share/backgrounds";
|
|
}
|
|
|
|
pictures = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
|