Skip to content

Commit

Permalink
Merge Christoph Holtermann's 'pycons-more-verbose' into maint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed May 3, 2019
2 parents 53e4e8a + 24ac69d commit 8fb2111
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gnucash/python/init.py
Expand Up @@ -95,8 +95,13 @@ def quit (self):

# 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)
Expand Down

0 comments on commit 8fb2111

Please sign in to comment.