diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-09-05 22:08:22 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-09-05 22:08:22 +0000 |
| commit | 4353921f810dd1e1a7f31bbaa58a848fa8521ee9 (patch) | |
| tree | c815337da9a522ee71a89824e0886c9273f45536 /src/sp-path.cpp | |
| parent | Improving the performance of the object snapper (diff) | |
| download | inkscape-4353921f810dd1e1a7f31bbaa58a848fa8521ee9.tar.gz inkscape-4353921f810dd1e1a7f31bbaa58a848fa8521ee9.zip | |
add path effect indication to the description
(bzr r3690)
Diffstat (limited to 'src/sp-path.cpp')
| -rw-r--r-- | src/sp-path.cpp | 9 |
1 files 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("<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); + } } /** |
