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 731790 - GtkHeaderBar subtitle not redisplayed after custom title
GtkHeaderBar subtitle not redisplayed after custom title
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-06-17 16:33 UTC by Shaun McCance
Modified: 2014-06-18 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shaun McCance 2014-06-17 16:33:44 UTC
If you set a custom title widget in GtkHeaderBar, then set it to NULL, the title and subtitle are supposed to be restored. But GTK+ seems to forget to make the subtitle visible again. It does still have the subtitle, because this works as a workaround right after setting the custom title to NULL:

gtk_header_bar_set_subtitle (header, gtk_header_bar_get_subtitle (header));