evolution r35635 - in trunk/addressbook: . gui/widgets



Author: mcrha
Date: Fri Jun 13 09:48:25 2008
New Revision: 35635
URL: http://svn.gnome.org/viewvc/evolution?rev=35635&view=rev

Log:
2008-06-13  Milan Crha  <mcrha redhat com>

	** Part of fix for bug #304029
	
	* gui/widgets/addresstypes.xml: changed description of default
	search filter from "Name begins with" to "Name contains"
	* gui/widgets/e-addressbook-view.c: (search_activated):
	same in a filter search query itself

Note: Be sure you've proper eds version.



Modified:
   trunk/addressbook/ChangeLog
   trunk/addressbook/gui/widgets/addresstypes.xml
   trunk/addressbook/gui/widgets/e-addressbook-view.c

Modified: trunk/addressbook/gui/widgets/addresstypes.xml
==============================================================================
--- trunk/addressbook/gui/widgets/addresstypes.xml	(original)
+++ trunk/addressbook/gui/widgets/addresstypes.xml	Fri Jun 13 09:48:25 2008
@@ -151,7 +151,7 @@
   <ruleset>
 
     <rule grouping="any" source="demand">
-      <_title>Name begins with</_title>
+      <_title>Name contains</_title>
       <sources/>
     </rule>
     

Modified: trunk/addressbook/gui/widgets/e-addressbook-view.c
==============================================================================
--- trunk/addressbook/gui/widgets/e-addressbook-view.c	(original)
+++ trunk/addressbook/gui/widgets/e-addressbook-view.c	Fri Jun 13 09:48:25 2008
@@ -1382,7 +1382,7 @@
 								s->str);
 				break;
 			case ESB_FULL_NAME:
-				search_query = g_strdup_printf ("(beginswith \"full_name\" %s)",
+				search_query = g_strdup_printf ("(contains \"full_name\" %s)",
 								s->str);
 				break;
 			case ESB_EMAIL:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]