[gnome-software: 7/15] gs-summary-tile: Add a CSS name to the widget




commit 29bbff185a77494c02f00ec921f14ee7cc192568
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Apr 20 15:00:44 2021 +0100

    gs-summary-tile: Add a CSS name to the widget
    
    I don’t plan to use this, but others may find it useful for playing with
    the CSS in future.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-summary-tile.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gs-summary-tile.c b/src/gs-summary-tile.c
index 558a903d9..d235be64e 100644
--- a/src/gs-summary-tile.c
+++ b/src/gs-summary-tile.c
@@ -209,6 +209,7 @@ gs_summary_tile_class_init (GsSummaryTileClass *klass)
 
        g_object_class_install_properties (object_class, G_N_ELEMENTS (obj_props), obj_props);
 
+       gtk_widget_class_set_css_name (widget_class, "summary-tile");
        gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/Software/gs-summary-tile.ui");
 
        gtk_widget_class_bind_template_child (widget_class, GsSummaryTile,


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