~mfisch/onehundredscopes/unity-community-lens-fixes

« back to all changes in this revision

Viewing changes to community-lens

  • Committer: Matthew Fischer
  • Date: 2012-02-20 00:54:44 UTC
  • Revision ID: matthew.fischer@canonical.com-20120220005444-14ujvqqep0wjhl9b
removing unneeded code which simplifies things some

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
19
import sys
20
 
import os
21
 
import datetime
22
 
 
23
 
from gi.repository import GLib, Unity
24
20
 
25
21
from singlet.lens import Lens, SingleScopeLens, IconViewCategory, ListViewCategory
26
22
from singlet.utils import run_lens
42
38
 
43
39
    meetings = ListViewCategory("Meetings", 'applications-chat')
44
40
 
45
 
    def search(self, search, results):
46
 
        results.append('http://loco.ubuntu.com/',
47
 
                             'ubuntu-logo',
48
 
                             self.teams,
49
 
                             "text/html",
50
 
                             'LoCo Team Portal', 'LoCo Team Portal', 'http://loco.ubuntu.com/')
51
 
 
52
41
if __name__ == "__main__":
53
42
    run_lens(CommunityLens, sys.argv)