[gnome-software: 73/110] Update to GtkIconSize changes
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 73/110] Update to GtkIconSize changes
- Date: Tue, 5 Oct 2021 20:32:41 +0000 (UTC)
commit c82680ef59a8424d4971c053a4041d9573681500
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Aug 25 20:34:23 2021 -0300
Update to GtkIconSize changes
The enum only lists "inherit", "normal", and "large" now, so do
a best effort match of these values.
src/gs-app-details-page.ui | 4 ++--
src/gs-app-translation-dialog.ui | 2 +-
src/gs-category-tile.ui | 2 +-
src/gs-details-page.ui | 10 +++++-----
src/gs-featured-carousel.ui | 4 ++--
src/gs-screenshot-carousel.ui | 4 ++--
src/gs-screenshot-image.ui | 1 -
src/gs-shell.ui | 8 ++++----
src/gs-upgrade-banner.ui | 2 +-
9 files changed, 18 insertions(+), 19 deletions(-)
---
diff --git a/src/gs-app-details-page.ui b/src/gs-app-details-page.ui
index 499235397..d3304384f 100644
--- a/src/gs-app-details-page.ui
+++ b/src/gs-app-details-page.ui
@@ -27,7 +27,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">go-previous-symbolic</property>
- <property name="icon_size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
</object>
@@ -52,7 +52,7 @@
<property name="visible">True</property>
<property name="pixel_size">96</property>
<property name="icon_name">system-component-application</property>
- <property name="icon_size">0</property>
+ <property name="icon-size">normal</property>
<style>
<class name="icon-dropshadow"/>
</style>
diff --git a/src/gs-app-translation-dialog.ui b/src/gs-app-translation-dialog.ui
index 859a088fd..6b9a4715f 100644
--- a/src/gs-app-translation-dialog.ui
+++ b/src/gs-app-translation-dialog.ui
@@ -41,7 +41,7 @@
<object class="GtkImage" id="icon">
<property name="halign">center</property>
<property name="icon-name">flag-outline-thin-symbolic</property>
- <property name="icon-size">3</property><!-- GTK_ICON_SIZE_LARGE_TOOLBAR -->
+ <property name="icon-size">large</property>
<property name="visible">True</property>
<accessibility>
<relation name="labelled-by">title</relation>
diff --git a/src/gs-category-tile.ui b/src/gs-category-tile.ui
index 39a3aa1dd..724ec3fb1 100644
--- a/src/gs-category-tile.ui
+++ b/src/gs-category-tile.ui
@@ -19,7 +19,7 @@
<property name="visible">True</property>
<!-- Placeholder; the actual icon is set in code -->
<property name="icon_name">folder-music-symbolic</property>
- <property name="icon_size">5</property><!-- GTK_ICON_SIZE_DND -->
+ <property name="icon_size">large</property><!-- GTK_ICON_SIZE_LARGE -->
<style>
<class name="icon-dropshadow"/>
</style>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 3e7af5534..bd4291926 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -788,7 +788,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property
name="icon-name">web-browser-symbolic</property>
- <property name="icon-size">4</property>
+ <property name="icon-size">normal</property>
</object>
</child>
<child>
@@ -814,7 +814,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">money-symbolic</property>
- <property name="icon-size">4</property>
+ <property name="icon-size">normal</property>
</object>
</child>
<child>
@@ -840,7 +840,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property
name="icon-name">flag-outline-thin-symbolic</property>
- <property name="icon-size">4</property>
+ <property name="icon-size">normal</property>
</object>
</child>
<child>
@@ -866,7 +866,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property
name="icon-name">computer-fail-symbolic</property>
- <property name="icon-size">4</property>
+ <property name="icon-size">normal</property>
</object>
</child>
<child>
@@ -892,7 +892,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property
name="icon-name">help-browser-symbolic</property>
- <property name="icon-size">4</property>
+ <property name="icon-size">normal</property>
</object>
</child>
<child>
diff --git a/src/gs-featured-carousel.ui b/src/gs-featured-carousel.ui
index 1f6ed4587..48a5968a7 100644
--- a/src/gs-featured-carousel.ui
+++ b/src/gs-featured-carousel.ui
@@ -51,7 +51,7 @@
<object class="GtkImage" id="previous_button_image">
<property name="visible">True</property>
<property name="icon-name">carousel-arrow-previous-symbolic</property>
- <property name="icon-size">3</property><!-- GTK_ICON_SIZE_LARGE_TOOLBAR -->
+ <property name="icon-size">large</property>
<signal name="direction-changed" handler="previous_button_direction_changed_cb"/>
</object>
</child>
@@ -82,7 +82,7 @@
<object class="GtkImage" id="next_button_image">
<property name="visible">True</property>
<property name="icon_name">carousel-arrow-next-symbolic</property>
- <property name="icon_size">3</property><!-- GTK_ICON_SIZE_LARGE_TOOLBAR -->
+ <property name="icon_size">large</property>
<signal name="direction-changed" handler="next_button_direction_changed_cb"/>
</object>
</child>
diff --git a/src/gs-screenshot-carousel.ui b/src/gs-screenshot-carousel.ui
index b9ce56a00..bac5377fc 100644
--- a/src/gs-screenshot-carousel.ui
+++ b/src/gs-screenshot-carousel.ui
@@ -57,7 +57,7 @@
<object class="GtkImage" id="button_previous_image">
<property name="halign">center</property>
<property name="icon-name">carousel-arrow-previous-symbolic</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">normal</property>
<property name="valign">center</property>
<property name="visible">True</property>
<property name="name">previous</property>
@@ -99,7 +99,7 @@
<object class="GtkImage" id="button_next_image">
<property name="halign">center</property>
<property name="icon-name">carousel-arrow-next-symbolic</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">normal</property>
<property name="valign">center</property>
<property name="visible">True</property>
<property name="name">next</property>
diff --git a/src/gs-screenshot-image.ui b/src/gs-screenshot-image.ui
index a65758c61..0f5131807 100644
--- a/src/gs-screenshot-image.ui
+++ b/src/gs-screenshot-image.ui
@@ -72,7 +72,6 @@
<object class="GtkImage" id="image_error">
<property name="visible">True</property>
<property name="icon-name">dialog-error-symbolic</property>
- <property name="icon-size">6</property>
<property name="pixel-size">48</property>
</object>
</child>
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index 093407776..85b042bcd 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -201,7 +201,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">edit-find-symbolic</property>
- <property name="icon_size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
</object>
@@ -222,7 +222,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">open-menu-symbolic</property>
- <property name="icon_size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
<style>
@@ -416,7 +416,7 @@
<object class="GtkImage" id="back_image">
<property name="visible">True</property>
<property name="icon_name">go-previous-symbolic</property>
- <property name="icon_size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
</object>
@@ -516,7 +516,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">go-previous-symbolic</property>
- <property name="icon_size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
</object>
diff --git a/src/gs-upgrade-banner.ui b/src/gs-upgrade-banner.ui
index ec763e874..ffe39eda3 100644
--- a/src/gs-upgrade-banner.ui
+++ b/src/gs-upgrade-banner.ui
@@ -191,7 +191,7 @@
<child>
<object class="GtkImage" id="button_upgrades_cancel_image">
<property name="icon-name">window-close-symbolic</property>
- <property name="icon-size">4</property>
+ <property name="icon-size">large</property>
<property name="visible">True</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]