summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:33:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:33:00 +0000
commitff8bb5f9ade92d634e09de30b2e346d4d87c6436 (patch)
tree36c63f4a6487c4c9e75f6c3e8f07290806570498
parentSetting theme to "System". (diff)
downloadgimp-ff8bb5f9ade92d634e09de30b2e346d4d87c6436.tar.xz
gimp-ff8bb5f9ade92d634e09de30b2e346d4d87c6436.zip
Setting icon-theme to "Color".
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0005-icon-theme.patch27
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules4
3 files changed, 32 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 bc3afb6..2c6e2d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,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 1286b47..824b6f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,3 +41,7 @@ override_dh_makeshlibs:
execute_before_dh_install:
find debian/tmp -name '*.la' -print -delete
+
+execute_after_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