summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:26:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:26:57 +0000
commitf1e6356ad4a05d54ce96066bedf18b74635f1c6d (patch)
treeb3327d2b18815580461b4534f65ea92621c87c8a
parentSetting theme to "System". (diff)
downloadgimp-f1e6356ad4a05d54ce96066bedf18b74635f1c6d.tar.xz
gimp-f1e6356ad4a05d54ce96066bedf18b74635f1c6d.zip
Setting icon-theme to "Color".
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0005-icon-theme.patch27
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules2
3 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0005-icon-theme.patch b/debian/patches/progress-linux/0005-icon-theme.patch
new file mode 100644
index 0000000..c2d848c
--- /dev/null
+++ b/debian/patches/progress-linux/0005-icon-theme.patch
@@ -0,0 +1,27 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting icon-theme to "Color".
+
+diff -Naurp gimp.orig/etc/gimprc.in gimp/etc/gimprc.in
+--- gimp.orig/etc/gimprc.in
++++ gimp/etc/gimprc.in
+@@ -807,7 +807,7 @@
+
+ # The name of the icon theme to use. This is a string value.
+ #
+-# (icon-theme "Symbolic")
++(icon-theme "Color")
+
+ # The size of the icons to use. Possible values are auto, theme, small,
+ # medium, large and huge.
+diff -Naurp gimp.orig/libgimpwidgets/gimpicons.c gimp/libgimpwidgets/gimpicons.c
+--- gimp.orig/libgimpwidgets/gimpicons.c
++++ gimp/libgimpwidgets/gimpicons.c
+@@ -51,7 +51,7 @@
+
+ #define LIBGIMP_DOMAIN GETTEXT_PACKAGE "-libgimp"
+ #define GIMP_TOILET_PAPER "gimp-toilet-paper"
+-#define GIMP_DEFAULT_ICON_THEME "Symbolic"
++#define GIMP_DEFAULT_ICON_THEME "Color"
+
+
+ static GtkIconFactory *gimp_stock_factory = NULL;
diff --git a/debian/patches/series b/debian/patches/series
index 721712e..2ea9edc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ progress-linux/0001-default-font.patch
progress-linux/0002-global-font.patch
progress-linux/0003-toolbox-wilber.patch
progress-linux/0004-theme.patch
+progress-linux/0005-icon-theme.patch
diff --git a/debian/rules b/debian/rules
index 0f5f3d8..308502f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,3 +42,5 @@ override_dh_makeshlibs:
override_dh_install:
find debian/tmp -name '*.la' -print -delete
dh_install
+ # gimp folder icons override gtk icons in file dialogs (#900170)
+ rm -f debian/gimp-data/usr/share/gimp/2.0/icons/Color/scalable/apps/folder*.svg