[gimp] Bug 750105 - Migrating 2.8 themes to 2.9/2.10
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 750105 - Migrating 2.8 themes to 2.9/2.10
- Date: Tue, 19 Jan 2016 21:40:52 +0000 (UTC)
commit ea13e816abb52111bc5f8a858f6ba7d5d2afb03f
Author: Jehan <jehan girinstud io>
Date: Tue Jan 19 22:36:27 2016 +0100
Bug 750105 - Migrating 2.8 themes to 2.9/2.10
Old themes should not be copied over to the GIMP 2.9/2.10 config at
first launch since they won't be compatible anyway. Let's go the less
painful way by dropping old themes rather than trying to salvage themes
which we know will be broken by design.
app/core/gimp-user-install.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimp-user-install.c b/app/core/gimp-user-install.c
index c87484c..d8383bf 100644
--- a/app/core/gimp-user-install.c
+++ b/app/core/gimp-user-install.c
@@ -741,8 +741,9 @@ user_install_migrate_files (GimpUserInstall *install)
else if (g_file_test (source, G_FILE_TEST_IS_DIR))
{
/* skip these directories for all old versions */
- if (strcmp (basename, "tmp") == 0 ||
- strcmp (basename, "tool-options") == 0)
+ if (strcmp (basename, "tmp") == 0 ||
+ strcmp (basename, "tool-options") == 0 ||
+ strcmp (basename, "themes") == 0)
{
goto next_file;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]