summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-03-04 22:35:23 +0100
committerStefano Karapetsas <[email protected]>2015-03-05 16:08:47 +0100
commitaeccda42c6da068ec646b9be32c1e9e96ac09353 (patch)
treec254ea048434076479e03f74470ba89492f2fc8a /src
parentf57f76f2a293b4ed22dba91bba23bcf227e873c7 (diff)
downloadcaja-aeccda42c6da068ec646b9be32c1e9e96ac09353.tar.bz2
caja-aeccda42c6da068ec646b9be32c1e9e96ac09353.tar.xz
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
Diffstat (limited to 'src')
-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 *