Add assignments for unmodified classes
[pygtk-shell.git] / pygtk_shell_rawconsole.py
blob662b5e027187ae3f644ed5941678b04f83603e10
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 """
4 PyGTK Shell RawConsole launcher.
5 """
7 # Copyright (C) 2007,2009 Felix Rabe <public@felixrabe.net>
9 # This library is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU Lesser General Public
11 # License as published by the Free Software Foundation; either
12 # version 2.1 of the License, or (at your option) any later version.
14 # This library is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # Lesser General Public License for more details.
19 # You should have received a copy of the GNU Lesser General Public License
20 # along with this library; if not, write to the Free Software Foundation,
21 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 from PyGTKShell.Config import _config
24 # _config["main-loop-integrate-dbus"] = True
25 # _config["main-loop-integrate-twisted"] = True
26 from PyGTKShell.RawConsole import * # imports all of API as well
28 def main(argv):
29 WindowWithRawConsole()
30 main_loop_run() # just calling gtk.main() would work as well
31 return 0
33 if __name__ == "__main__":
34 import sys
35 sys.exit(main(sys.argv))