OSDN Git Service

Fix thread title is not saved to idx file.
[fukui-no-namari/fukui-no-namari.git] / src / hage1
1 #!/usr/bin/env python
2
3 # Copyright (C) 2006 by Aiwota Programmer
4 # aiwotaprog@tetteke.tk
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
20 import pygtk
21 pygtk.require('2.0')
22 import gtk
23 import gnome.ui
24 import gobject
25
26 from Hage1 import board_data
27 from Hage1 import board_window
28 from Hage1 import brdlist
29 from Hage1 import config
30 APPNAME = 'Hage1'
31 APPVERSION = '0.1'
32
33 if __name__ == "__main__":
34     bbs = "2ch"
35     board = "morningcoffee"
36     gnome.init(APPNAME, APPVERSION)
37     gobject.threads_init()
38     config.APPNAME = APPNAME
39     brdlist.read(bbs)
40     win = board_window.WinWrap(bbs, board)
41     gtk.main()