termux-packages/x11-packages/libgtk2/gtk-2.24.32_tests_testfilechooser.c.patch
2022-04-18 14:08:05 +05:30

13 lines
499 B
Diff

diff -uNr gtk-2.24.32/tests/testfilechooser.c gtk-2.24.32.mod/tests/testfilechooser.c
--- gtk-2.24.32/tests/testfilechooser.c 2018-01-08 23:35:39.000000000 +0200
+++ gtk-2.24.32.mod/tests/testfilechooser.c 2018-06-23 17:45:58.347630010 +0300
@@ -632,7 +632,7 @@
/* Shortcuts */
gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (dialog),
- "file:///usr/share/pixmaps",
+ "file://@TERMUX_PREFIX@/share/pixmaps",
NULL);
/* Initial filename or folder */