I have used Jono Bacons creating your first ubuntu application to discover how to theme toolbars using the ubuntu theme. I followed the exact same code and the program loads with a black toolbar, however the text on the buttons does not change colour and stays black.
This is an image of my apps issue:
Jono's text colour however turns white when the style is changed.
This is the code I have used:
self.mainToolbar = self.builder.get_object("mainToolbar") mainToolbarStyle = self.mainToolbar.get_style_context() mainToolbarStyle.add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
I have been tearing my hair out over this and I'm sure there is an easy solution.
Thanks very much for any help you can give!