use g_markup_printf_escaped instead of g_strdup_printf, #110564
Tue Feb 3 23:36:25 2004 Jonathan Blandford <jrb@gnome.org> * gnome-theme-manager.c (load_meta_themes): use g_markup_printf_escaped instead of g_strdup_printf, #110564
This commit is contained in:
parent
091a9a6b36
commit
1355ee215f
2 changed files with 15 additions and 10 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Feb 3 23:36:25 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gnome-theme-manager.c (load_meta_themes): use
|
||||
g_markup_printf_escaped instead of g_strdup_printf, #110564
|
||||
|
||||
2004-01-14 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* Release 2.5.2
|
||||
|
|
|
@ -397,7 +397,7 @@ load_meta_themes (GtkTreeView *tree_view,
|
|||
else if (compare_val == 0)
|
||||
{
|
||||
/* We reset the blurb in case it has changed */
|
||||
blurb = g_strdup_printf ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
blurb = g_markup_printf_escaped ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
list_meta_theme_info->readable_name, list_meta_theme_info->comment);
|
||||
pixbuf = default_image;
|
||||
|
||||
|
@ -418,7 +418,7 @@ load_meta_themes (GtkTreeView *tree_view,
|
|||
/* we insert a new item */
|
||||
GtkTreeIter iter_to_prepend;
|
||||
gtk_list_store_insert_before (GTK_LIST_STORE (model), &iter_to_prepend, &iter);
|
||||
blurb = g_strdup_printf ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
blurb = g_markup_printf_escaped ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
list_meta_theme_info->readable_name, list_meta_theme_info->comment);
|
||||
pixbuf = default_image;
|
||||
|
||||
|
@ -440,7 +440,7 @@ load_meta_themes (GtkTreeView *tree_view,
|
|||
list_meta_theme_info = list->data;
|
||||
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
|
||||
|
||||
blurb = g_strdup_printf ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
blurb = g_markup_printf_escaped ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
list_meta_theme_info->readable_name, list_meta_theme_info->comment);
|
||||
pixbuf = NULL;
|
||||
if (i <= MAX_ELEMENTS_BEFORE_SCROLLING)
|
||||
|
@ -641,7 +641,7 @@ add_custom_row_to_meta_theme (const gchar *current_gtk_theme,
|
|||
gtk_list_store_prepend (GTK_LIST_STORE (model), &iter);
|
||||
|
||||
/* set the values of the Custom theme. */
|
||||
blurb = g_strdup_printf ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
blurb = g_markup_printf_escaped ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
_("Custom theme"), _("You can save this theme by pressing the Save Theme button."));
|
||||
|
||||
/* Invalidate the cache because the custom theme has potentially changed */
|
||||
|
@ -701,7 +701,7 @@ add_initial_row_to_meta_theme (void)
|
|||
gtk_list_store_prepend (GTK_LIST_STORE (model), &iter);
|
||||
|
||||
/* set the values of the Custom theme. */
|
||||
blurb = g_strdup_printf ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
blurb = g_markup_printf_escaped ("<span size=\"larger\" weight=\"bold\">%s</span>\n%s",
|
||||
_("Custom theme"), _("You can save this theme by pressing the Save Theme button."));
|
||||
|
||||
/* Invalidate the cache because the custom theme has potentially changed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue