diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-29 18:24:14 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-29 18:24:14 +0800 |
commit | efadfbfb1779549c2898304dce4bbce30b067ceb (patch) | |
tree | 930a112d04e35aa67a46cda800fd7b040006bf58 /ethereal/ui/gui.go | |
parent | 8ee6574d12601df7a8edb56ee9ccc4cfce7ef6a8 (diff) | |
download | go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.gz go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.bz2 go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.lz go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.xz go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.zst go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.zip |
Minor UI changes
* Moved log from block view
* Prepend instead of append for logs
Diffstat (limited to 'ethereal/ui/gui.go')
-rw-r--r-- | ethereal/ui/gui.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal/ui/gui.go b/ethereal/ui/gui.go index 1698f5de0..9a8673a1c 100644 --- a/ethereal/ui/gui.go +++ b/ethereal/ui/gui.go @@ -66,7 +66,6 @@ func (gui *Gui) Start(assetPath string) { }}) ethutil.Config.SetClientString(fmt.Sprintf("/Ethereal v%s", version)) - ethutil.Config.Log.Infoln("[GUI] Starting GUI") // Create a new QML engine gui.engine = qml.NewEngine() context := gui.engine.Context() @@ -93,6 +92,9 @@ func (gui *Gui) Start(assetPath string) { panic(err) } + ethutil.Config.Log.AddLogSystem(gui) + ethutil.Config.Log.Infoln("[GUI] Starting GUI") + win.Show() win.Wait() |