You have been subscribed to a public bug: Hi everybody!
When creating a primary toolbar with several buttons in it in python (PyGObject), the buttons' background are light instead of dark. Reloading the theme fixes the problem, but it's very annoying. The toolbar itself is created in Glade, then read in with Gtk.Builder, but it would be light defaultly, so I added some lines to make it dark: self.ui.get_object("toolbar").get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR) Maybe this causes the strange bug. And even the sizes are different after reloading the theme. (it gets some pixels bigger) I'm going to attach a picture of the bug itself. ** Affects: ubuntu-themes (Ubuntu) Importance: Undecided Status: New -- Wrong toolbar button background in python application https://bugs.launchpad.net/bugs/1022300 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs