diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-02 01:53:31 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-02 01:53:31 +0100 |
commit | 32589e59a4456ac11ac63c9aff473ec99617684a (patch) | |
tree | c73be3ea856fc9aa290111249e1b90364dd43fb1 /src/caja-pathbar.c | |
parent | 6fd67036b7bb6bad36b9101b6e9b15e5d9852677 (diff) | |
download | caja-32589e59a4456ac11ac63c9aff473ec99617684a.tar.bz2 caja-32589e59a4456ac11ac63c9aff473ec99617684a.tar.xz |
GTK3 BlueMenta: add caja-pathbar style class
Needed for gtk+-3.20
Diffstat (limited to 'src/caja-pathbar.c')
-rw-r--r-- | src/caja-pathbar.c | 6 |
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); |