beagle r4817 - in trunk/beagle/search: Beagle.Search Beagle.Search.Pages



Author: dbera
Date: Wed Jul  9 00:44:01 2008
New Revision: 4817
URL: http://svn.gnome.org/viewvc/beagle?rev=4817&view=rev

Log:
Add some more tips if no results are returned.


Modified:
   trunk/beagle/search/Beagle.Search.Pages/NoMatch.cs
   trunk/beagle/search/Beagle.Search/SearchWindow.cs

Modified: trunk/beagle/search/Beagle.Search.Pages/NoMatch.cs
==============================================================================
--- trunk/beagle/search/Beagle.Search.Pages/NoMatch.cs	(original)
+++ trunk/beagle/search/Beagle.Search.Pages/NoMatch.cs	Wed Jul  9 00:44:01 2008
@@ -21,9 +21,12 @@
 			Append (String.Format (Catalog.GetString ("Your search for \"{0}\" did not match any files on your computer."), "<b>" + GLib.Markup.EscapeText (query) + "</b>"));
 
 			if (suggest_scope)
-				Append (Catalog.GetString ("You can change the scope of your search using the \"Search\" menu. A broader search scope might produce more results."));
+				Append (Catalog.GetString ("You can change the scope of your search using the \"Find in\" list. A broader search scope might produce more results."));
 			
 			Append (Catalog.GetString ("You should check the spelling of your search words to see if you accidentally misspelled any words."));
+#if ENABLE_GOOGLEBACKENDS
+			Append (Catalog.GetString ("If you are searching for GMail emails, select \"Global\" Search Domain using the \"Search\" menu."));
+#endif
 		}
 	}
 }

Modified: trunk/beagle/search/Beagle.Search/SearchWindow.cs
==============================================================================
--- trunk/beagle/search/Beagle.Search/SearchWindow.cs	(original)
+++ trunk/beagle/search/Beagle.Search/SearchWindow.cs	Wed Jul  9 00:44:01 2008
@@ -568,7 +568,7 @@
 			if (nomatch != null)
 				nomatch.Destroy ();
 
-			nomatch = new Pages.NoMatch (query_text, matches == MatchType.NoneInScope);
+			nomatch = new Pages.NoMatch (query_text, matches == MatchType.NoneInScope || scope_list.Active != 0);
 			nomatch.Show ();
 
 			pages.Add (nomatch);



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