~andrewsomething/singlet/packaging

« back to all changes in this revision

Viewing changes to src/singlet/utils.py

  • Committer: Michael Hall
  • Date: 2012-01-03 20:19:24 UTC
  • Revision ID: mhall119@ubuntu.com-20120103201924-1ba149cope98pb1y
Add search_on_blank flag and search_hint string to LensMeta

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
Name=%(title)s Lens
49
49
Icon=/usr/share/unity/lenses/%(name)s/%(icon_name)s
50
50
Description=%(description)s
51
 
SearchHint=%(title)s search
 
51
SearchHint=%(search_hint)s
52
52
#Shortcut=c
53
53
 
54
54
[Desktop Entry]
57
57
        'name': lens_class._meta.name,
58
58
        'title': lens_class._meta.name.title(),
59
59
        'description': lens_class._meta.description,
 
60
        'search_hint': lens_class._meta.search_hint,
60
61
        'icon_name': os.path.basename(lens_class._meta.icon),
61
62
        'bus_path': lens_class._meta.bus_path,
62
63
        'bus_name': lens_class._meta.bus_name })