Skip to content
Snippets Groups Projects
Verified Commit 687167e1 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Improve filter hints

parent b996e05f
No related branches found
No related tags found
No related merge requests found
......@@ -158,11 +158,12 @@ show_try_filter_change_state (GSimpleAction *action,
if (g_variant_get_boolean (value))
{
gtk_custom_filter_set_filter_func (self->try_filter, try_filter_func, self, NULL);
gtk_filter_changed (GTK_FILTER (self->try_filter), GTK_FILTER_CHANGE_DIFFERENT);
gtk_filter_changed (GTK_FILTER (self->try_filter), GTK_FILTER_CHANGE_MORE_STRICT);
}
else
{
gtk_custom_filter_set_filter_func (self->try_filter, NULL, NULL, NULL);
gtk_filter_changed (GTK_FILTER (self->try_filter), GTK_FILTER_CHANGE_LESS_STRICT);
}
g_simple_action_set_state (action, value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment