3
// Copyright (C) 2008 Jason Smith
5
// This program is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation; either version 2 of the License, or
8
// (at your option) any later version.
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
15
// You should have received a copy of the GNU General Public License
16
// along with this program; if not, write to the Free Software
17
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
namespace Do.Interface.Widgets
29
public class NoResultsFoundItem : Item
33
public NoResultsFoundItem (string query)
38
public override string Icon { get { return "gtk-dialog-question"; } }
39
public override string Name { get { return Catalog.GetString (string.Format("No results for {0}", query)); } }
40
public override string Description {
42
return string.Format (Catalog.GetString (string.Format("No results found for {0}", query)));
47
public class DefaultIconBoxItem : Item
49
public override string Icon { get { return "search"; } }
50
public override string Name { get { return ""; } }
51
public override string Description { get { return ""; } }
54
public class DefaultLabelBoxItem : Item
56
public override string Icon { get { return "search"; } }
57
public override string Name { get { return Catalog.GetString ("Type to begin searching"); } }
58
public override string Description { get { return Catalog.GetString ("Type to start searching."); } }