psa: adding missing opml_lib library
[feedingit] / src / feedingit_status.py
1 #!/usr/bin/env python2.5
2
3 # Copyright (c) 2007-2008 INdT.
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU Lesser General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU Lesser General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public License
15 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 #
17
18 # ============================================================================
19 # Name        : FeedingIt.py
20 # Author      : Yves Marcoz
21 # Version     : 0.6.1
22 # Description : Simple RSS Reader
23 # ============================================================================
24
25 import gtk
26 import hildondesktop
27
28 class FeedingItStatusPlugin(hildondesktop.StatusMenuItem):
29     def __init__(self):
30         hildondesktop.StatusMenuItem.__init__(self)
31
32         icon_theme = gtk.icon_theme_get_default()
33         pixbuf = icon_theme.load_icon("feedingit", 22, gtk.ICON_LOOKUP_NO_SVG)
34         self.set_status_area_icon(pixbuf)
35
36         label = gtk.Label("Example message")
37         self.add(label)
38         self.show_all()
39
40 hd_plugin_type = FeedingItStatusPlugin