[empathy] empathy_individual_match_string: match if the string IS a prefix
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_individual_match_string: match if the string IS a prefix
- Date: Thu, 9 Jun 2011 11:36:21 +0000 (UTC)
commit f01e2c494ccb02637535b2419e80c172f85a5b5b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Jun 9 13:30:10 2011 +0200
empathy_individual_match_string: match if the string IS a prefix
libempathy-gtk/empathy-ui-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 0b0bf30..7e4a823 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1984,7 +1984,7 @@ empathy_individual_match_string (FolksIndividual *individual,
/* Accept the persona if @text is a full prefix of his ID; that allows
* user to find, say, a jabber contact by typing his JID. */
- if (!g_str_has_prefix (str, text))
+ if (g_str_has_prefix (str, text))
{
retval = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]