From 4353921f810dd1e1a7f31bbaa58a848fa8521ee9 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Wed, 5 Sep 2007 22:08:22 +0000 Subject: add path effect indication to the description (bzr r3690) --- src/sp-path.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/sp-path.cpp') 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); + } } /** -- cgit v1.2.3