projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec80f6
)
Update show latest on activating live search
author
José Dapena Paz
<jdapena@igalia.com>
Tue, 2 Feb 2010 16:35:02 +0000
(17:35 +0100)
committer
José Dapena Paz
<jdapena@igalia.com>
Tue, 2 Feb 2010 17:03:12 +0000
(18:03 +0100)
src/widgets/modest-header-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-header-view.c
b/src/widgets/modest-header-view.c
index
ae24edd
..
a459fe0
100644
(file)
--- a/
src/widgets/modest-header-view.c
+++ b/
src/widgets/modest-header-view.c
@@
-2803,10
+2803,15
@@
on_live_search_refilter (HildonLiveSearch *livesearch,
ModestHeaderView *self)
{
const gchar *needle;
+ ModestHeaderViewPrivate *priv;
+
+ priv = MODEST_HEADER_VIEW_GET_PRIVATE (self);
needle = hildon_live_search_get_text (livesearch);
if (needle && needle[0] != '\0') {
modest_header_view_set_filter_string (MODEST_HEADER_VIEW (self), needle);
+ if (priv->show_latest > 0)
+ modest_header_view_set_show_latest (MODEST_HEADER_VIEW (self), 0);
} else {
modest_header_view_set_filter_string (MODEST_HEADER_VIEW (self), NULL);
}