mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge Christoph Holtermann's 'pycons-more-verbose' into maint.
This commit is contained in:
commit
8fb2111636
@ -95,8 +95,13 @@ class Console (cons.Console):
|
||||
|
||||
# Change this to "if True:" to switch on a python console at gnucash
|
||||
# startup:
|
||||
# shelltype can either be "python" or "ipython" (the latter is not yet fully functional)
|
||||
if False:
|
||||
console = Console(argv = [], shelltype = 'python', banner = [['woop', 'title']], size = 100)
|
||||
shelltype = "python"
|
||||
title = "gnucash "+shelltype+" shell"
|
||||
banner_style = 'title'
|
||||
banner = "Welcome to "+title+"!\n"
|
||||
console = Console(argv = [], shelltype = shelltype, banner = [[banner, banner_style]], size = 100)
|
||||
|
||||
window = Gtk.Window(type = Gtk.WindowType.TOPLEVEL)
|
||||
window.set_position(Gtk.WindowPosition.CENTER)
|
||||
|
Loading…
Reference in New Issue
Block a user