diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2010-02-24 18:30:39 +0200 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2010-02-25 13:29:15 +0200 |
commit | 6ad1c4e4939fa7b5097464312feff40b5ed4d68f (patch) | |
tree | 158e4f190ecf78d62dd266b81ce0b026031f0171 | |
parent | 44a8ca8e6195b401c39259edbe085383adbd29b3 (diff) |
Filter after visible func. or filter are set
This enables HildonLiveSearch:text to be set before the filter or
visible function, and make it work accordingly.
-rw-r--r-- | hildon/hildon-live-search.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c index f8094ee..a87a122 100644 --- a/hildon/hildon-live-search.c +++ b/hildon/hildon-live-search.c @@ -842,6 +842,8 @@ hildon_live_search_set_filter (HildonLiveSearch *livesearch, priv->visible_func_set = TRUE; } + refilter (livesearch); + g_object_notify (G_OBJECT (livesearch), "filter"); } @@ -1105,6 +1107,8 @@ hildon_live_search_set_visible_func (HildonLiveSearch *liv NULL); priv->visible_func_set = TRUE; } + + refilter (livesearch); } /** |