[gnome-software/wip/origin-icons: 2/6] gs-origin-popover-row: Default to "package-x-generic-symbolic" icon




commit f352f8b862922d31344f731b496601d38cf72539
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 8 10:25:24 2022 +0200

    gs-origin-popover-row: Default to "package-x-generic-symbolic" icon
    
    Let the default origin icon be the "package-x-generic-symbolic", thus
    every origin will have set an icon.

 src/gs-origin-popover-row.c  | 2 --
 src/gs-origin-popover-row.ui | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/gs-origin-popover-row.c b/src/gs-origin-popover-row.c
index ca968d6f3..132aceb1c 100644
--- a/src/gs-origin-popover-row.c
+++ b/src/gs-origin-popover-row.c
@@ -122,8 +122,6 @@ refresh_ui (GsOriginPopoverRow *row)
 
        if (packaging_icon != NULL)
                gtk_image_set_from_icon_name (GTK_IMAGE (priv->packaging_image), packaging_icon);
-       else
-               gtk_widget_hide (priv->packaging_image);
 
        if (packaging_base_css_color == NULL)
                packaging_base_css_color = "window_fg_color";
diff --git a/src/gs-origin-popover-row.ui b/src/gs-origin-popover-row.ui
index 787792a61..53fb90a3a 100644
--- a/src/gs-origin-popover-row.ui
+++ b/src/gs-origin-popover-row.ui
@@ -58,7 +58,7 @@
             <child>
               <object class="GtkImage" id="packaging_image">
                 <property name="pixel_size">16</property>
-                <property name="icon_name">flatpak-symbolic</property>
+                <property name="icon_name">package-x-generic-symbolic</property>
                 <property name="valign">center</property>
               </object>
             </child>


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