summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-properties-window.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-12 10:32:46 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:49 +0200
commit2696f1c6ec8ca1615fea80c02d65910dee75f217 (patch)
tree849b005b799c676605d70e435e4c096528ff8720 /src/file-manager/fm-properties-window.c
parenta5ce9aa44e916bb093a635e5b48f65435deca2ff (diff)
downloadcaja-2696f1c6ec8ca1615fea80c02d65910dee75f217.tar.bz2
caja-2696f1c6ec8ca1615fea80c02d65910dee75f217.tar.xz
fm-properties-window: make the location of system folders portable
Diffstat (limited to 'src/file-manager/fm-properties-window.c')
-rw-r--r--src/file-manager/fm-properties-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 4d6ca7f8..69ce70d0 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -5769,8 +5769,8 @@ select_image_button_callback (GtkWidget *widget,
"process-stop", GTK_RESPONSE_CANCEL,
"document-open", GTK_RESPONSE_OK,
NULL);
- gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), "/usr/share/icons", NULL);
- gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), "/usr/share/pixmaps", NULL);
+ gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), ICONDIR, NULL);
+ gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), PIXMAPDIR, NULL);
gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
filter = gtk_file_filter_new ();