background: Escape wallpaper filename before display
https://bugzilla.gnome.org/show_bug.cgi?id=673015
This commit is contained in:
parent
38d693b1c8
commit
46186a5f02
1 changed files with 5 additions and 1 deletions
|
@ -349,8 +349,12 @@ update_preview (CcBackgroundPanelPrivate *priv,
|
|||
if (priv->current_background)
|
||||
{
|
||||
GdkColor pcolor, scolor;
|
||||
char *escaped;
|
||||
|
||||
escaped = g_markup_escape_text (cc_background_item_get_name (priv->current_background), -1);
|
||||
markup = g_strdup_printf ("<b>%s</b>", escaped);
|
||||
g_free (escaped);
|
||||
|
||||
markup = g_strdup_printf ("<b>%s</b>", cc_background_item_get_name (priv->current_background));
|
||||
gtk_label_set_markup (GTK_LABEL (WID ("background-label")), markup);
|
||||
g_free (markup);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue