summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-manager/fm-icon-container.c')
-rw-r--r--src/file-manager/fm-icon-container.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/file-manager/fm-icon-container.c b/src/file-manager/fm-icon-container.c
index 0ecc0180..08b87529 100644
--- a/src/file-manager/fm-icon-container.c
+++ b/src/file-manager/fm-icon-container.c
@@ -595,6 +595,10 @@ fm_icon_container_class_init (FMIconContainerClass *klass)
static void
fm_icon_container_init (FMIconContainer *icon_container)
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (icon_container)),
+ GTK_STYLE_CLASS_VIEW);
+#endif
}
CajaIconContainer *