Emit row-changed notification

Emit row-changed when the filteredness of a visible row
changes in GtkFileSystemModel.
This commit is contained in:
Matthias Clasen 2012-07-15 00:37:41 -04:00
parent 7bfcb065df
commit 46c1ea98d2

View File

@ -313,7 +313,12 @@ node_set_visible_and_filtered_out (GtkFileSystemModel *model, guint id, gboolean
/* Filteredness */
node->filtered_out = filtered_out;
if (node->filtered_out != filtered_out)
{
node->filtered_out = filtered_out;
if (node->visible && visible)
emit_row_changed_for_node (model, id);
}
/* Visibility */