Define Layer::get_non_empty_description() which returns the layer's description if...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 11 Jan 2008 09:43:10 +0000 (09:43 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 11 Jan 2008 09:43:10 +0000 (09:43 +0000)
commit09a59b4cf5f0806bdb959d9eeb2ca11cc5a96e66
tree0f05bfdbf87c67e0166211f2c4ca28a302215c20
parent0468dda476c2e68e13f1dbbd2e1fdd93efc95ca2
Define Layer::get_non_empty_description() which returns the layer's description if non-empty, else its generic local name.  This test was (and still is, currently) reproduced in several places.

git-svn-id: http://svn.voria.com/code@1324 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/synfig/layer.h