summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1397a68)
raw | patch | inline | side by side (parent: 1397a68)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 5 Sep 2007 22:08:22 +0000 (22:08 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 5 Sep 2007 22:08:22 +0000 (22:08 +0000) |
src/sp-path.cpp | patch | blob | history |
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 53cbb16374a51d8feaa260f4e3a7a99ec3d52118..8aed675900901ec04325d3d708a2e81b6a40058b 100644 (file)
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
sp_path_description(SPItem * item)
{
int count = sp_nodes_in_path(SP_PATH(item));
- return g_strdup_printf(ngettext("<b>Path</b> (%i node)",
- "<b>Path</b> (%i nodes)",count), count);
+ if (SP_SHAPE(item)->path_effect_href) {
+ return g_strdup_printf(ngettext("<b>Path</b> (%i node, path effect)",
+ "<b>Path</b> (%i nodes, path effect)",count), count);
+ } else {
+ return g_strdup_printf(ngettext("<b>Path</b> (%i node)",
+ "<b>Path</b> (%i nodes)",count), count);
+ }
}
/**