view: use GTK_STYLE_CLASS_VIEW for NautilusView

So that NautilusIconContainer also inherits the proper style class.
This commit is contained in:
Cosimo Cecchi 2011-03-17 17:35:39 -04:00
parent 9c65f3b667
commit e2bfbbd6d8

View file

@ -2598,6 +2598,9 @@ nautilus_view_init (NautilusView *view)
g_signal_connect_swapped (nautilus_window_state,
"changed::" NAUTILUS_WINDOW_STATE_START_WITH_STATUS_BAR,
G_CALLBACK (nautilus_view_display_selection_info), view);
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (view)),
GTK_STYLE_CLASS_VIEW);
}
static void