[nautilus] view: use GTK_STYLE_CLASS_VIEW for NautilusView
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] view: use GTK_STYLE_CLASS_VIEW for NautilusView
- Date: Thu, 17 Mar 2011 21:36:45 +0000 (UTC)
commit e2bfbbd6d8ae577bb16cd215a2d106dcc31f6d8a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Mar 17 17:35:39 2011 -0400
view: use GTK_STYLE_CLASS_VIEW for NautilusView
So that NautilusIconContainer also inherits the proper style class.
src/nautilus-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 18d35c9..ba73ad0 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]