[gnome-software/1381-category-page-loading-state-doesn-t-match-final-layout] gs-category-page: Remove `activatable` style from placeholder tiles



commit a10204024012d7015fd17b7af329eab63cc813cf
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 28 11:13:33 2022 +0100

    gs-category-page: Remove `activatable` style from placeholder tiles
    
    To not be drawn as activatable when a mouse cursor hovers above them.

 src/gs-category-page.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gs-category-page.c b/src/gs-category-page.c
index 44121d836..5c420c500 100644
--- a/src/gs-category-page.c
+++ b/src/gs-category-page.c
@@ -96,6 +96,7 @@ gs_category_page_add_placeholders (GsCategoryPage *self,
                GtkWidget *tile = gs_summary_tile_new (NULL);
                gtk_flow_box_insert (flow_box, tile, -1);
                gtk_widget_set_can_focus (gtk_widget_get_parent (tile), FALSE);
+               gtk_widget_remove_css_class (tile, "activatable");
        }
 
        gtk_widget_show (GTK_WIDGET (flow_box));


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