[gimp] Issue #5875: Close button too big on wayland backend.



commit 68851c1aaaf18bafae65f0755160b83b740dfcc9
Author: Jehan <jehan girinstud io>
Date:   Mon Jul 5 10:59:43 2021 +0200

    Issue #5875: Close button too big on wayland backend.
    
    The issue is that on X11, the window manager draws the title bar hence
    uses the window-close button from the system theme, though on Wayland,
    GTK draws its own decorations. Since we provide a window-close, we end
    up with a disparity between this button and the minimize/maximize
    buttons.
    
    For now, let's just get rid of the window-close icon as an easy
    solution, thus GIMP will always use the window-close icon from system
    theme.
    
    Maybe we can restore our own window-close icon later, but we should make
    sure to at least have also window-maximize and window-minimize icons so
    that the 3 buttons next to each others won't look too mismatched. And
    probably we should also have smaller-size design because it doesn't look
    so nice when huge (though it might simply have been the size mismatch
    which gave this feeling).

 icons/Color/16/window-close.png                   | Bin 393 -> 0 bytes
 icons/Color/icon-list.mk                          |   2 -
 icons/Color/scalable/window-close.svg             | 108 ----------------------
 icons/Symbolic/icon-list.mk                       |   2 -
 icons/Symbolic/scalable/window-close-symbolic.svg | 107 ---------------------
 icons/meson.build                                 |   3 -
 6 files changed, 222 deletions(-)
---
diff --git a/icons/Color/icon-list.mk b/icons/Color/icon-list.mk
index e4b8d43e2f..875f85b101 100644
--- a/icons/Color/icon-list.mk
+++ b/icons/Color/icon-list.mk
@@ -55,7 +55,6 @@ scalable_images = \
        scalable/system-run.svg                                 \
        scalable/view-fullscreen.svg                            \
        scalable/view-refresh.svg                               \
-       scalable/window-close.svg                               \
        scalable/window-new.svg                                 \
        scalable/zoom-fit-best.svg                              \
        scalable/zoom-in.svg                                    \
@@ -593,7 +592,6 @@ icons16_images = \
        16/system-run.png                                       \
        16/view-fullscreen.png                                  \
        16/view-refresh.png                                     \
-       16/window-close.png                                     \
        16/window-new.png                                       \
        16/zoom-fit-best.png                                    \
        16/zoom-in.png                                          \
diff --git a/icons/Symbolic/icon-list.mk b/icons/Symbolic/icon-list.mk
index a3bb090f90..1e941b6c51 100644
--- a/icons/Symbolic/icon-list.mk
+++ b/icons/Symbolic/icon-list.mk
@@ -55,7 +55,6 @@ scalable_images = \
        scalable/system-run-symbolic.svg                                        \
        scalable/view-fullscreen-symbolic.svg                           \
        scalable/view-refresh-symbolic.svg                              \
-       scalable/window-close-symbolic.svg                              \
        scalable/window-new-symbolic.svg                                        \
        scalable/zoom-fit-best-symbolic.svg                             \
        scalable/zoom-in-symbolic.svg                                   \
@@ -593,7 +592,6 @@ icons16_images = \
        16/system-run-symbolic.symbolic.png                                     \
        16/view-fullscreen-symbolic.symbolic.png                                \
        16/view-refresh-symbolic.symbolic.png                                   \
-       16/window-close-symbolic.symbolic.png                                   \
        16/window-new-symbolic.symbolic.png                                     \
        16/zoom-fit-best-symbolic.symbolic.png                                  \
        16/zoom-in-symbolic.symbolic.png                                        \
diff --git a/icons/meson.build b/icons/meson.build
index 40a9e64058..0a41a97581 100644
--- a/icons/meson.build
+++ b/icons/meson.build
@@ -56,7 +56,6 @@ color_vector_scalable = [
   'scalable/system-run.svg',
   'scalable/view-fullscreen.svg',
   'scalable/view-refresh.svg',
-  'scalable/window-close.svg',
   'scalable/window-new.svg',
   'scalable/zoom-fit-best.svg',
   'scalable/zoom-in.svg',
@@ -578,7 +577,6 @@ symbolic_vector_scalable = [
   'scalable/system-run-symbolic.svg',
   'scalable/view-fullscreen-symbolic.svg',
   'scalable/view-refresh-symbolic.svg',
-  'scalable/window-close-symbolic.svg',
   'scalable/window-new-symbolic.svg',
   'scalable/zoom-fit-best-symbolic.svg',
   'scalable/zoom-in-symbolic.svg',
@@ -1324,7 +1322,6 @@ bitmap_16 = [
   '16/system-run.png',
   '16/view-fullscreen.png',
   '16/view-refresh.png',
-  '16/window-close.png',
   '16/window-new.png',
   '16/zoom-fit-best.png',
   '16/zoom-in.png',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]