~ubuntu-branches/ubuntu/natty/gnome-do/natty

« back to all changes in this revision

Viewing changes to Do.Interface.Linux/src/Do.Interface/Do.Interface.Widgets/DefaultElements.cs

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2009-06-27 10:40:45 UTC
  • mfrom: (1.1.8 upstream) (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090627104045-7st10y1cqr6dpz37
Tags: 0.8.2+dfsg-1
* New upstream release
  + No longer uses a plugin repository.  Fixes many plugin-
    related issues. (LP: #343096, LP: #330025, LP #345001)
  + No longer blocks on "About Do" (LP: #361679)
  + Reacts correctly when a Composite manager is enabled/
    disabled at runtime. (LP: #346347, LP: #390150)
  + Fixes for space reserved by Docky blocking drag and 
    drop operations. (LP: #354729, LP: #347052, LP: #382843)
  + Properly sets "Hidden" key on autostart files in response to 
    "Start on login" option.  (Closes: #526023) (LP: #369988)
* debian/patches/10_application_search_path:
  + Drop; included upstream
* debian/patches/10_sk_translation_update:
  + Import sk translation update from Debian BTS.
    (Closes: #531779)
* debian/patches/11_fix_autostart_when_directory_does_not_exist:
  + Patch from upstream.  Fixes the "Start on login" option when the 
    ~/.config/autostart directory does not exist. (LP: #393729)
* debian/control:
  + Update standards version to 3.8.2; no changes required.
  + Add libtool to Build-Depends; required for autoreconf.
  + Add Recommends: on new gnome-do-docklets package.
* debian/gnome-do.1
  + Fix spelling: GNOME-Do => GNOME Do.
  + Miscelaneous lintian fixes; NAME section, escaping minus signs with \-
* debian/copyright:
  + Update for new copyright holders.
  + Minor update to DEP-5 format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// DefaultElements.cs
2
 
//
3
 
//  Copyright (C) 2008 Jason Smith
4
 
//
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.
9
 
//
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.
14
 
// 
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
18
 
//
19
 
//
20
 
 
21
 
using System;
22
 
using Mono.Unix;
23
 
 
24
 
using Do.Universe;
25
 
 
26
 
namespace Do.Interface.Widgets
27
 
{
28
 
        
29
 
        public class NoResultsFoundElement : Element
30
 
        {
31
 
                string query;
32
 
                
33
 
                public NoResultsFoundElement (string query)
34
 
                {
35
 
                        this.query = query;
36
 
                }
37
 
 
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 {
41
 
                        get {
42
 
                                return string.Format (Catalog.GetString (string.Format("No results found for {0}", query)));
43
 
                        }
44
 
                }
45
 
        }
46
 
        
47
 
        public class DefaultIconBoxElement : Element
48
 
        {
49
 
                public override string Icon { get { return "search"; } }
50
 
                public override string Name { get { return ""; } }
51
 
                public override string Description { get { return ""; } }
52
 
        }
53
 
        
54
 
        public class DefaultLabelBoxElement : Element
55
 
        {
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."); } }
59
 
        }
60
 
}