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 702909 - Special markup characters should be escaped when setting the toolbar title
Special markup characters should be escaped when setting the toolbar title
Status: RESOLVED FIXED
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-06-23 17:50 UTC by Emanuele Aina
Modified: 2013-06-25 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main-toolbar: Escape markup when setting the toolbar title (2.21 KB, patch)
2013-06-23 17:50 UTC, Emanuele Aina
committed Details | Review

Description Emanuele Aina 2013-06-23 17:50:07 UTC
Item names can contain special characters, so we need to escape them if we're
going to use them in marked up strings.
Comment 1 Emanuele Aina 2013-06-23 17:50:10 UTC
Created attachment 247571 [details] [review]
main-toolbar: Escape markup when setting the toolbar title

Use g_markup_printf_escaped() to properly escape strings.
Comment 2 Debarshi Ray 2013-06-25 13:26:38 UTC
Comment on attachment 247571 [details] [review]
main-toolbar: Escape markup when setting the toolbar title

Thanks for the patch!