[nautilus-sendto] evolution: Don't use random number of expected results
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] evolution: Don't use random number of expected results
- Date: Fri, 11 May 2012 17:45:12 +0000 (UTC)
commit cbeeaf83c0be220caebb4ec9b3c7593dd6735c74
Author: Bastien Nocera <hadess hadess net>
Date: Fri May 11 18:41:16 2012 +0100
evolution: Don't use random number of expected results
11? Why 11? We expect a maximum of 15 items in the completion popup,
so use 15 there too.
src/plugins/evolution/e-contact-entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/evolution/e-contact-entry.c b/src/plugins/evolution/e-contact-entry.c
index 4b4deb1..161571d 100644
--- a/src/plugins/evolution/e-contact-entry.c
+++ b/src/plugins/evolution/e-contact-entry.c
@@ -410,7 +410,7 @@ entry_changed_cb (GtkEditable *editable, gpointer user_data)
if (!lookup->open)
continue;
- if (e_book_async_get_book_view (lookup->book, query, NULL, 11, (EBookBookViewCallback)bookview_cb, lookup) == FALSE) {
+ if (e_book_async_get_book_view (lookup->book, query, NULL, MAX_ENTRIES, (EBookBookViewCallback)bookview_cb, lookup) == FALSE) {
g_signal_emit (entry, signals[ERROR], 0, _("Cannot create searchable view."));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]