From f879a3800e9aef3cb51823d18518eea4529d6270 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 5 Sep 2007 22:08:22 +0000 Subject: [PATCH] add path effect indication to the description --- src/sp-path.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/sp-path.cpp b/src/sp-path.cpp index 53cbb1637..8aed67590 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -124,8 +124,13 @@ static gchar * sp_path_description(SPItem * item) { int count = sp_nodes_in_path(SP_PATH(item)); - return g_strdup_printf(ngettext("Path (%i node)", - "Path (%i nodes)",count), count); + if (SP_SHAPE(item)->path_effect_href) { + return g_strdup_printf(ngettext("Path (%i node, path effect)", + "Path (%i nodes, path effect)",count), count); + } else { + return g_strdup_printf(ngettext("Path (%i node)", + "Path (%i nodes)",count), count); + } } /** -- 2.30.2