From 2e01c348a7462bafef5d0c6d751a4f0dc9480b18 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 26 Mar 2008 06:05:01 +0000 Subject: [PATCH] mention that an item is filtered in its statusbar description --- src/sp-item.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sp-item.cpp b/src/sp-item.cpp index ca77296d8..fc966aff4 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -985,6 +985,11 @@ sp_item_description(SPItem *item) g_free (s); s = snew; } + if (SP_OBJECT_STYLE(item) && SP_OBJECT_STYLE(item)->filter.href) { + gchar *snew = g_strdup_printf (_("%s; filtered"), s); + g_free (s); + s = snew; + } return s; } -- 2.30.2