[nautilus/wip/antoniof/post-gtk4-switch-fixes: 9/19] view-icon-controller: Set .view style class




commit 047a293e5606d3f781dd76f9c7924eaa6e46a1c8
Author: António Fernandes <antoniof gnome org>
Date:   Sat Jan 1 20:03:25 2022 +0000

    view-icon-controller: Set .view style class
    
    Removing redundant custom styles revealed we weren't adding this
    the class to this view, as we should.

 src/nautilus-view-icon-controller.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-view-icon-controller.c b/src/nautilus-view-icon-controller.c
index ffd12e432..f46044034 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -1478,6 +1478,7 @@ nautilus_view_icon_controller_class_init (NautilusViewIconControllerClass *klass
 static void
 nautilus_view_icon_controller_init (NautilusViewIconController *self)
 {
+    gtk_widget_add_css_class (GTK_WIDGET (self), "view");
     set_click_mode_from_settings (self);
 
     g_signal_connect_swapped (nautilus_preferences,


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