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 320787 - Zenity can't handle new lines
Zenity can't handle new lines
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
2.12.x
Other opensolaris
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-05 22:17 UTC by Glynn Foster
Modified: 2005-11-14 04:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Glynn Foster 2005-11-05 22:17:26 UTC
This may be the result of moving over to goption, but zenity has lost it's
feature of being able to add new lines in the msg dialog.

For example -

zenity --info --no-wrap --text="<span foreground=\"blue\"
background=\"orange\">label</span>"

works nicely

but

zenity --info --no-wrap --text="<span foreground=\"blue\"
background=\"orange\">label</span> \n vote for me!"

doesn't. Not sure why this is happening, because gtk_label_set_markup seems to
get the correct string.
Comment 1 Lucas Rocha 2005-11-14 04:27:14 UTC
Fixed in HEAD, thanks!