summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-side-pane.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/caja-side-pane.c b/src/caja-side-pane.c
index 7be604cf..8799fb0d 100644
--- a/src/caja-side-pane.c
+++ b/src/caja-side-pane.c
@@ -320,6 +320,13 @@ caja_side_pane_init (GObject *object)
side_pane->details = G_TYPE_INSTANCE_GET_PRIVATE (object, CAJA_TYPE_SIDE_PANE, CajaSidePaneDetails);
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (object));
+ gtk_style_context_add_class (context, "caja-side-pane");
+#endif
+
hbox = gtk_hbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 4);
side_pane->details->title_hbox = hbox;