#!/usr/bin/env python # Copyright (C) 2006 by Aiwota Programmer # aiwotaprog@tetteke.tk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import pygtk pygtk.require('2.0') import gtk import gnome.ui import gobject from Hage1 import board_data from Hage1 import board_window from Hage1 import brdlist from Hage1 import config APPNAME = 'Hage1' APPVERSION = '0.1' if __name__ == "__main__": bbs = "2ch" board = "morningcoffee" gnome.init(APPNAME, APPVERSION) gobject.threads_init() config.APPNAME = APPNAME brdlist.read(bbs) win = board_window.WinWrap(bbs, board) gtk.main()