Blob Blame History Raw
From cc6f689a770ac4e9136413bcfa59b34062ceca6b Mon Sep 17 00:00:00 2001
From: raveit65 <chat-to-me@raveit.de>
Date: Sun, 5 Jun 2016 18:22:04 +0200
Subject: [PATCH 2/2] add .view style class on icon view scrolled window

---
 src/nemo-icon-view.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/nemo-icon-view.c b/src/nemo-icon-view.c
index 7c679ef..2d67def 100644
--- a/src/nemo-icon-view.c
+++ b/src/nemo-icon-view.c
@@ -2850,6 +2850,9 @@ nemo_icon_view_create (NemoWindowSlot *slot)
 			     "window-slot", slot,
 			     "compact", FALSE,
 			     NULL);
+#if GTK_CHECK_VERSION (3, 20, 0)
+	gtk_style_context_add_class (gtk_widget_get_style_context (view), GTK_STYLE_CLASS_VIEW);
+#endif
 	return NEMO_VIEW (view);
 }
 
@@ -2862,6 +2865,9 @@ nemo_compact_view_create (NemoWindowSlot *slot)
 			     "window-slot", slot,
 			     "compact", TRUE,
 			     NULL);
+#if GTK_CHECK_VERSION (3, 20, 0)
+	gtk_style_context_add_class (gtk_widget_get_style_context (view), GTK_STYLE_CLASS_VIEW);
+#endif
 	return NEMO_VIEW (view);
 }
 
-- 
2.7.4