From: buliabyak Date: Wed, 5 Sep 2007 22:08:22 +0000 (+0000) Subject: add path effect indication to the description X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f879a3800e9aef3cb51823d18518eea4529d6270;p=inkscape.git add path effect indication to the description --- 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); + } } /**