Add methods and messages to retrieve specific information from beagle-info. Clients...
[beagle.git] / search / Pages / NoMatch.cs
blobad53702303fc08cbd22e43cf805224165b3cf6c2
1 using Gtk;
2 using System;
3 using Mono.Unix;
5 namespace Search.Pages {
7 public class NoMatch : Base {
9 static Gdk.Pixbuf NoMatchIcon;
11 static NoMatch ()
13 NoMatchIcon = Beagle.Images.GetPixbuf ("no-match.png");
16 public NoMatch (string query, bool suggestScope)
18 HeaderIcon = NoMatchIcon;
19 HeaderMarkup = "<big><b>" + Catalog.GetString ("No results were found.") +
20 "</b></big>\n\n" + String.Format (Catalog.GetString ("Your search for \"{0}\" did not match any files on your computer."),
21 "<b>" + GLib.Markup.EscapeText (query) + "</b>");
23 if (suggestScope)
24 Append (Catalog.GetString ("You can change the scope of your search using the \"Search\" menu. A broader search scope might produce more results."));
26 Append (Catalog.GetString ("You should check the spelling of your search words to see if you accidentally misspelled any words."));