From ee6d2a1f6db91fb9aa8d67108581954ce6db3480 Mon Sep 17 00:00:00 2001 From: Przemek Sitek Date: Fri, 5 Jun 2009 23:58:26 +0200 Subject: [PATCH] Emphasize extension names by rendering them bold --- panels/midori-extensions.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/panels/midori-extensions.c b/panels/midori-extensions.c index 5a18ba85..6f5fe451 100644 --- a/panels/midori-extensions.c +++ b/panels/midori-extensions.c @@ -266,13 +266,15 @@ midori_extensions_treeview_render_text_cb (GtkTreeViewColumn* column, name = katze_object_get_string (extension, "name"); version = katze_object_get_string (extension, "version"); desc = katze_object_get_string (extension, "description"); - text = g_strdup_printf ("%s %s\n%s", name, version, desc); + text = g_markup_printf_escaped ("%s %s\n%s", name, version, desc); g_free (name); g_free (version); g_free (desc); - g_object_set (renderer, "text", text, + + g_object_set (renderer, "markup", text, "sensitive", midori_extension_is_active (extension), NULL); + g_free (text); g_object_unref (extension); } -- 2.39.5