]> git.pld-linux.org Git - packages/gimp.git/blobdiff - gimp-home_etc.patch
- up to 2.6.2
[packages/gimp.git] / gimp-home_etc.patch
index e2399e87d2a6088787b75f04c96baffca5860666..fc5b74263d6180f6accd3057501ca3af818c8b5f 100644 (file)
@@ -1,27 +1,3 @@
-diff -Nru gimp-1.3.22.orig/app/core/gimpimagefile.c gimp-1.3.22/app/core/gimpimagefile.c
---- gimp-1.3.22.orig/app/core/gimpimagefile.c  2003-08-26 23:12:55.000000000 +0200
-+++ gimp-1.3.22/app/core/gimpimagefile.c       2003-11-22 19:28:32.000000000 +0100
-@@ -181,6 +181,7 @@
-   GimpObjectClass   *gimp_object_class;
-   GimpViewableClass *viewable_class;
-   gint               i;
-+      gchar             *home_etc = g_getenv("HOME_ETC");
-   parent_class = g_type_class_peek_parent (klass);
-@@ -207,10 +208,10 @@
-   g_type_class_ref (GIMP_TYPE_IMAGE_TYPE);
--  thumb_dir = g_build_filename (g_get_home_dir(), ".thumbnails", NULL);
-+  thumb_dir = g_build_filename (home_etc ? home_etc : g_get_home_dir(), ".thumbnails", NULL);
-   for (i = 0; i < G_N_ELEMENTS (thumb_sizes); i++)
--    thumb_subdirs[i] = g_build_filename (g_get_home_dir(), ".thumbnails",
-+    thumb_subdirs[i] = g_build_filename (home_etc ? home_etc : g_get_home_dir(), ".thumbnails",
-                                          thumb_sizes[i].dirname, NULL);
-   
-   thumb_fail_subdir = thumb_subdirs[0];
 diff -Nru gimp-1.3.22.orig/libgimpbase/gimpenv.c gimp-1.3.22/libgimpbase/gimpenv.c
 --- gimp-1.3.22.orig/libgimpbase/gimpenv.c     2003-10-25 21:02:18.000000000 +0200
 +++ gimp-1.3.22/libgimpbase/gimpenv.c  2003-11-22 19:23:31.000000000 +0100
This page took 0.493495 seconds and 4 git commands to generate.