After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759037 - GtkInfoBar: documentation not updated wrt background colors and message types
GtkInfoBar: documentation not updated wrt background colors and message types
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-12-04 17:40 UTC by tdruiva
Modified: 2016-05-23 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tdruiva 2015-12-04 17:40:32 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
Comment 1 Matthias Clasen 2015-12-04 18:46:45 UTC
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.
Comment 2 Sébastien Wilmet 2016-05-22 14:00:58 UTC
When doing such change, please update the documentation!

See gtk_info_bar_set_message_type().
Comment 3 Sébastien Wilmet 2016-05-22 14:03:38 UTC
And document also the *why*, not just the what. You'll make application developers less frustrated with GTK+.
Comment 4 Matthias Clasen 2016-05-22 17:21:07 UTC
Patches would help. We're trying our best, but there is a handful of contributors, and a 5000+ symbol api...