=== modified file 'Tomboy/RecentChanges.cs' --- Tomboy/RecentChanges.cs 2011-03-03 12:11:04 +0000 +++ Tomboy/RecentChanges.cs 2011-03-01 08:04:38 +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,35 +465,6 @@ IDictionary results = search.SearchNotes(text, false, selected_notebook); - - /// - /// If no results found in the selected notebook, ask the user - /// if he would like to search in other notebooks as well. - /// - 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 (); - - /// - /// if user says yes, then select the SpecialNotebook - /// - 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 2011-03-03 12:11:04 +0000 +++ debian/changelog 2011-03-01 08:04:38 +0000 @@ -1,11 +1,3 @@ -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 Thu, 03 Mar 2011 17:13:37 +0530 - tomboy (1.5.2-1ubuntu4) natty; urgency=low * debian/patches/04_app_indicator.patch: