[gnome-music/wip/jfelder/gtk4-v3: 11/88] ui/searchview: Fix GtkButton icon
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 11/88] ui/searchview: Fix GtkButton icon
- Date: Sat, 5 Feb 2022 00:05:07 +0000 (UTC)
commit f5e6bc595f6904b2920092e843f1253eec9f2c1a
Author: Jean Felder <jfelder src gnome org>
Date: Wed Feb 2 12:56:34 2022 +0100
ui/searchview: Fix GtkButton icon
data/ui/SearchView.ui | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
---
diff --git a/data/ui/SearchView.ui b/data/ui/SearchView.ui
index de3a6f260..cf04b2d91 100644
--- a/data/ui/SearchView.ui
+++ b/data/ui/SearchView.ui
@@ -1,17 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <object class="GtkImage" id="view_all_image_artist">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon_name">go-next-symbolic</property>
- <property name="icon_size">1</property>
- </object>
- <object class="GtkImage" id="view_all_image_album">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon_name">go-next-symbolic</property>
- <property name="icon_size">1</property>
- </object>
<template class="SearchView" parent="GtkStack">
<property name="visible">True</property>
<child>
@@ -55,9 +43,7 @@
<object class="GtkButton" id="_view_all_artists">
<property name="halign">end</property>
<property name="label" translatable="yes">View All</property>
- <property name="always_show_image">True</property>
- <property name="image">view_all_image_artist</property>
- <property name="image_position">right</property>
+ <property name="icon-name">go-next-symbolic</property>
<property name="visible">True</property>
<signal name="button-release-event" handler="_on_all_artists_clicked" swapped="no"/>
</object>
@@ -106,9 +92,7 @@
<object class="GtkButton" id="_view_all_albums">
<property name="halign">end</property>
<property name="label" translatable="yes">View All</property>
- <property name="always_show_image">True</property>
- <property name="image">view_all_image_album</property>
- <property name="image_position">right</property>
+ <property name="icon_name">go-next-symbolic</property>
<property name="visible">True</property>
<signal name="button-release-event" handler="_on_all_albums_clicked" swapped="no"/>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]