[gnome-software/wip/jimmac/pager-button-styling: 1/2] Featured banner: Use 45deg arrow icons




commit 386210a9959574af99997720a84574019754b727
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 18 12:17:15 2021 +0100

    Featured banner: Use 45deg arrow icons
    
    - the narrow custom icons have odd proportions if placed inside a circle

 data/icons/hicolor/meson.build                     |  4 ---
 .../scalable/carousel-arrow-next-symbolic.svg      | 36 ----------------------
 .../scalable/carousel-arrow-previous-symbolic.svg  | 36 ----------------------
 src/gs-featured-carousel.c                         |  4 +--
 4 files changed, 2 insertions(+), 78 deletions(-)
---
diff --git a/data/icons/hicolor/meson.build b/data/icons/hicolor/meson.build
index 933ae5ad8..8e232b8a9 100644
--- a/data/icons/hicolor/meson.build
+++ b/data/icons/hicolor/meson.build
@@ -1,9 +1,5 @@
 install_data('scalable/org.gnome.Software.svg',
              install_dir : 'share/icons/hicolor/scalable/apps')
-install_data('scalable/carousel-arrow-next-symbolic.svg',
-             install_dir : 'share/icons/hicolor/scalable/actions')
-install_data('scalable/carousel-arrow-previous-symbolic.svg',
-             install_dir : 'share/icons/hicolor/scalable/actions')
 install_data('symbolic/org.gnome.Software-symbolic.svg',
              install_dir : 'share/icons/hicolor/symbolic/apps')
 install_data('scalable/software-installed-symbolic.svg',
diff --git a/src/gs-featured-carousel.c b/src/gs-featured-carousel.c
index 3148c9659..f76b6218c 100644
--- a/src/gs-featured-carousel.c
+++ b/src/gs-featured-carousel.c
@@ -151,7 +151,7 @@ next_button_direction_changed_cb (GtkWidget        *widget,
                                   GtkTextDirection  previous_direction,
                                   gpointer          user_data)
 {
-       image_set_icon_for_direction (GTK_IMAGE (widget), "carousel-arrow-next-symbolic", 
"carousel-arrow-previous-symbolic");
+       image_set_icon_for_direction (GTK_IMAGE (widget), "go-next-symbolic", "go-previous-symbolic");
 }
 
 static void
@@ -172,7 +172,7 @@ previous_button_direction_changed_cb (GtkWidget        *widget,
                                       GtkTextDirection  previous_direction,
                                       gpointer          user_data)
 {
-       image_set_icon_for_direction (GTK_IMAGE (widget), "carousel-arrow-previous-symbolic", 
"carousel-arrow-next-symbolic");
+       image_set_icon_for_direction (GTK_IMAGE (widget), "go-previous-symbolic", "go-next-symbolic");
 }
 
 static void


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