From: Przemek Sitek Date: Fri, 5 Jun 2009 21:58:26 +0000 (+0200) Subject: Emphasize extension names by rendering them bold X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6d2a1f6db91fb9aa8d67108581954ce6db3480;p=midori Emphasize extension names by rendering them bold --- 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); }