Commit 756025e6 authored by Christian Hergert's avatar Christian Hergert

buildui: use display name from build target

We need the display-name as it can contain pango markup, and we might need
the name without pango markup in other places.
parent 3633e7b2
......@@ -78,7 +78,7 @@ get_targets_cb (GObject *object,
g_autoptr(IdeTreeNode) node = NULL;
g_autofree gchar *name = NULL;
name = ide_build_target_get_name (target);
name = ide_build_target_get_display_name (target);
node = g_object_new (IDE_TYPE_TREE_NODE,
"destroy-item", TRUE,
"display-name", name,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment