]> spindle.queued.net Git - midori/commitdiff
Emphasize extension names by rendering them bold
authorPrzemek Sitek <el.pescado@gazeta.pl>
Fri, 5 Jun 2009 21:58:26 +0000 (23:58 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 5 Jun 2009 21:58:26 +0000 (23:58 +0200)
panels/midori-extensions.c

index 5a18ba854385952fa5ad0f3531a3c435a9051115..6f5fe451e5f63098fe8f8dd0de2cd36dfb5f4425 100644 (file)
@@ -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 ("<b>%s</b> %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);
 }