=== modified file 'Tomboy/RecentChanges.cs'
--- Tomboy/RecentChanges.cs	2010-10-29 01:50:04 +0000
+++ Tomboy/RecentChanges.cs	2011-03-04 02:05:49 +0000
@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Text;
 using Mono.Unix;
-
+using Gtk;
 namespace Tomboy
 {
 	public class NoteRecentChanges : ForcedPresentWindow
@@ -16,7 +16,7 @@
 		}
 
 		NoteManager manager;
-
+		
 		Gtk.MenuBar menu_bar;
 		Gtk.ComboBoxEntry find_combo;
 		Gtk.Button clear_search_button;
@@ -465,6 +465,35 @@
 
 			IDictionary<Note,int> results =
 				search.SearchNotes(text, false, selected_notebook);
+			
+			/// <summary>
+			/// If no results found in the selected notebook, ask the user 
+			/// if he would like to search in other notebooks as well.
+			/// </summary>
+			if (results.Count == 0 && selected_notebook != null) {
+				// TODO a MessageDialog is too obtrusive, some other 
+				// UI elements could be used instead of this
+				MessageDialog md = new MessageDialog (this, 
+				                                      DialogFlags.Modal, 
+				                                      MessageType.Question, 
+				                                      ButtonsType.YesNo, 
+				"No result found in the selected Notebook, " +
+					"would you like to search in other Notebooks ?");           
+				                                         
+				ResponseType response = (ResponseType) md.Run ();
+				md.Destroy ();
+				
+				/// <summary>
+				/// if user says yes, then select the SpecialNotebook
+				/// </summary>
+				if (response == ResponseType.Yes) {
+					TreeIter iter;
+					notebooksTree.Model.GetIterFirst (out iter);
+					notebooksTree.Selection.SelectIter (iter);
+				}
+				
+			}
+			
 			foreach (Note note in results.Keys){
 				current_matches.Add(note.Uri, results[note]);
 			}

=== modified file 'debian/changelog'
--- debian/changelog	2010-12-03 08:57:00 +0000
+++ debian/changelog	2011-03-04 02:05:49 +0000
@@ -1,3 +1,11 @@
+tomboy (1.5.2-1ubuntu5) maverick; urgency=low
+
+  * RecentChanges.cs: Modified the method PerformSearch, so that if during 
+    the search, no results are found in the selected notebook, the user is
+    asked if he would like to search in all the notebooks. (LP: #386893) 
+
+ -- Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>  Thu, 03 Mar 2011 17:13:37 +0530
+
 tomboy (1.5.2-1ubuntu4) natty; urgency=low
 
   * debian/patches/04_app_indicator.patch:

