GNOME Bugzilla – Bug 759037
GtkInfoBar: documentation not updated wrt background colors and message types
Last modified: 2016-05-23 18:20:25 UTC
Hey, I'm playing with GtkInfoBar and the background color for bellow messages types, in the theme Adwaita, is all the same (blue) GTK_MESSAGE_INFO GTK_MESSAGE_WARNING GTK_MESSAGE_QUESTION GTK_MESSAGE_ERROR Only GTK_MESSAGE_OTHER is different. I saw this behavior on Linux and on Mac as well. If I change the theme for Raleigh then is ok, each message type has different color. Regards, tdruiva
This is an intentional change on the part of the theme designers. There is no guarantee that the different message types get different (or any) colors.
When doing such change, please update the documentation! See gtk_info_bar_set_message_type().
And document also the *why*, not just the what. You'll make application developers less frustrated with GTK+.
Patches would help. We're trying our best, but there is a handful of contributors, and a 5000+ symbol api...