From aeccda42c6da068ec646b9be32c1e9e96ac09353 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 4 Mar 2015 22:35:23 +0100 Subject: GTK3: add missing style class view to FMIconContainer Closes https://github.com/mate-desktop/caja/pull/392 Closes https://github.com/mate-desktop/caja/issues/382 --- src/file-manager/fm-icon-container.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 * -- cgit v1.2.1