summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-02 01:53:31 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-02 01:53:31 +0100
commit32589e59a4456ac11ac63c9aff473ec99617684a (patch)
treec73be3ea856fc9aa290111249e1b90364dd43fb1
parent6fd67036b7bb6bad36b9101b6e9b15e5d9852677 (diff)
downloadcaja-32589e59a4456ac11ac63c9aff473ec99617684a.tar.bz2
caja-32589e59a4456ac11ac63c9aff473ec99617684a.tar.xz
GTK3 BlueMenta: add caja-pathbar style class
Needed for gtk+-3.20
-rw-r--r--src/caja-pathbar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index 8b8cd1ef..aec342b3 100644
--- a/src/caja-pathbar.c
+++ b/src/caja-pathbar.c
@@ -312,6 +312,12 @@ static void
caja_path_bar_init (CajaPathBar *path_bar)
{
char *p;
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (path_bar));
+ gtk_style_context_add_class (context, "caja-pathbar");
+#endif
gtk_widget_set_has_window (GTK_WIDGET (path_bar), FALSE);
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (path_bar), FALSE);