summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-17 06:48:36 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-17 06:48:36 -0400
commitf7e94a73892bd6473f99f887340f35cd25b62596 (patch)
tree3de6e42c5e22ffd29e98bdc67e93e2f67fb34755 /gtk/gtkpathbar.c
parentf3ef3165df34ab509a7165165360680bf30dd0cb (diff)
downloadgtk+-f7e94a73892bd6473f99f887340f35cd25b62596.tar.gz
GtkPathBar: Add a style class
This will allow nautilus to reuse the style on its own pathbar widget.
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r--gtk/gtkpathbar.c1
1 files changed, 1 insertions, 0 deletions
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;