From 659f67fbb31496f531e1ab7ded63beafba7c0a33 Mon Sep 17 00:00:00 2001
From: raveit65 <chat-to-me@raveit.de>
Date: Wed, 29 Jun 2016 00:28:49 +0200
Subject: GTK+-3 pathpar: add image-button class to iconic buttons

taken from:
https://git.gnome.org/browse/nautilus/patch/src?id=4b2753d
---
 src/caja-pathbar.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index ce39fa9b..a223d481 100644
--- a/src/caja-pathbar.c
+++ b/src/caja-pathbar.c
@@ -1703,12 +1703,20 @@ caja_path_bar_update_button_appearance (ButtonData *button_data)
             if (pixbuf != NULL)
             {
                 gtk_image_set_from_pixbuf (GTK_IMAGE (button_data->image), pixbuf);
+#if GTK_CHECK_VERSION(3,0,0)
+                gtk_style_context_add_class (gtk_widget_get_style_context (button_data->button),
+                                             "image-button");
+#endif
                 gtk_widget_show (GTK_WIDGET (button_data->image));
                 g_object_unref (pixbuf);
             }
             else
             {
                 gtk_widget_hide (GTK_WIDGET (button_data->image));
+#if GTK_CHECK_VERSION(3,0,0)
+                gtk_style_context_remove_class (gtk_widget_get_style_context (button_data->button),
+                                                "image-button");
+#endif
             }
         }
     }
-- 
cgit v1.2.1