Ejemplo n.º 1
0
def main():
	# parse commandline before importing UI
	cli_opts = get_options()
	print_banner()

	from kupfer import pretty

	if _debug:
		pretty.debug = _debug
		try:
			import debug
			debug.install()
		except ImportError, e:
			pass
Ejemplo n.º 2
0
def main():
    # parse commandline before importing UI
    cli_opts = get_options()
    print_banner()

    from kupfer import pretty

    if _debug:
        pretty.debug = _debug
        try:
            import debug
            debug.install()
        except ImportError:
            pass
    sys.excepthook = sys.__excepthook__
    _set_process_title()

    quiet = ("--no-splash" in cli_opts)
    gtkmain(quiet)
Ejemplo n.º 3
0
def main():
	# parse commandline before importing UI
	cli_opts = get_options()
	print_banner()

	from kupfer import pretty

	if _debug:
		pretty.debug = _debug
		try:
			import debug
			debug.install()
		except ImportError:
			pass
	sys.excepthook = sys.__excepthook__
	_set_process_title()

	quiet = ("--no-splash" in cli_opts)
	gtkmain(quiet)
Ejemplo n.º 4
0
Archivo: main.py Proyecto: engla/kupfer
def main():
    # parse commandline before importing UI
    cli_opts = get_options()
    print_banner()

    from kupfer import pretty, version

    if _debug:
        pretty.debug = _debug
        pretty.print_debug(__name__, "Version:", version.PACKAGE_NAME, version.VERSION)
        try:
            import debug
            debug.install()
        except ImportError:
            pass
    sys.excepthook = sys.__excepthook__
    _set_process_title()

    quiet = ("--no-splash" in cli_opts)
    gtkmain(browser_start, quiet)
Ejemplo n.º 5
0
Archivo: main.py Proyecto: guns/kupfer
def main():
    # parse commandline before importing UI
    cli_opts = get_options()
    print_banner()

    from kupfer import pretty, version

    if _debug:
        pretty.debug = _debug
        pretty.print_debug(__name__, "Version:", version.PACKAGE_NAME,
                           version.VERSION)
        try:
            import debug
            debug.install()
        except ImportError:
            pass
    sys.excepthook = sys.__excepthook__
    _set_process_title()

    quiet = ("--no-splash" in cli_opts)
    gtkmain(browser_start, quiet)