| 1 #!/usr/bin/env python |
1 #!/usr/bin/env python |
| 2 |
2 |
| 3 # A very simple and stupid RSS reader |
3 """ |
| 4 # |
4 gr - An RSS-reader built using libgnt and feedparser. |
| 5 # Uses the Universal Feed Parser |
5 |
| 6 # |
6 Copyright (C) 2007 Sadrul Habib Chowdhury <sadrul@pidgin.im> |
| |
7 |
| |
8 This application is free software; you can redistribute it and/or |
| |
9 modify it under the terms of the GNU Lesser General Public |
| |
10 License as published by the Free Software Foundation; either |
| |
11 version 2.1 of the License, or (at your option) any later version. |
| |
12 |
| |
13 This application is distributed in the hope that it will be useful, |
| |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| |
16 Lesser General Public License for more details. |
| |
17 |
| |
18 You should have received a copy of the GNU Lesser General Public |
| |
19 License along with this application; if not, write to the Free Software |
| |
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| |
21 USA |
| |
22 """ |
| |
23 |
| |
24 """ |
| |
25 This file deals with the UI part (gnt) of the application |
| |
26 """ |
| 7 |
27 |
| 8 import gntrss |
28 import gntrss |
| 9 import gnt |
29 import gnt |
| 10 import gobject |
30 import gobject |
| 11 import sys |
31 import sys |
| 12 |
32 |
| 13 __version__ = "0.0.1alpha" |
33 __version__ = "0.0.1alpha" |
| 14 __author__ = "Sadrul Habib Chowdhury (sadrul@pidgin.im)" |
34 __author__ = "Sadrul Habib Chowdhury (sadrul@pidgin.im)" |
| 15 __copyright__ = "Copyright 2007, Sadrul Habib Chowdhury" |
35 __copyright__ = "Copyright 2007, Sadrul Habib Chowdhury" |
| 16 __license__ = "GPL" # see full license statement below |
36 __license__ = "GPL" # see full license statement above |
| 17 |
37 |
| 18 gnt.gnt_init() |
38 gnt.gnt_init() |
| 19 |
39 |
| 20 class RssTree(gnt.Tree): |
40 class RssTree(gnt.Tree): |
| 21 __gsignals__ = { |
41 __gsignals__ = { |