Code

mention that an item is filtered in its statusbar description
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 26 Mar 2008 06:05:01 +0000 (06:05 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 26 Mar 2008 06:05:01 +0000 (06:05 +0000)
src/sp-item.cpp

index ca77296d82b109022807c1363663a9b20f6ed78e..fc966aff47c08f02fac16d8aa64f031f7a6fef5c 100644 (file)
@@ -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; <i>filtered</i>"), s);
+            g_free (s);
+            s = snew;
+        }
         return s;
     }