From f7e94a73892bd6473f99f887340f35cd25b62596 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 17 Jul 2014 06:48:36 -0400 Subject: [PATCH] GtkPathBar: Add a style class This will allow nautilus to reuse the style on its own pathbar widget. --- gtk/gtkpathbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index adb9a8f6fa..ec1f5ed74c 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -202,6 +202,7 @@ gtk_path_bar_init (GtkPathBar *path_bar) gtk_widget_set_redraw_on_allocate (GTK_WIDGET (path_bar), FALSE); context = gtk_widget_get_style_context (GTK_WIDGET (path_bar)); + gtk_style_context_add_class (context, "path-bar"); gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED); path_bar->priv->get_info_cancellable = NULL;