aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/gui.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-19 01:12:31 +0800
committerzelig <viktor.tron@gmail.com>2014-06-19 01:12:31 +0800
commita32a15ad935952537be8c9b4ea9fcb561e5c6125 (patch)
tree1fde3dfa00d0e784556ec625ef5b4906607d98aa /ethereal/ui/gui.go
parent50fdfb127ac35120315628a286f0a507c4470a89 (diff)
parente517fb5f9da7856c52c771f054166a60e4b8389d (diff)
downloaddexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.tar
dexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.tar.gz
dexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.tar.bz2
dexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.tar.lz
dexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.tar.xz
dexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.tar.zst
dexon-a32a15ad935952537be8c9b4ea9fcb561e5c6125.zip
Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
Diffstat (limited to 'ethereal/ui/gui.go')
-rw-r--r--ethereal/ui/gui.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/ethereal/ui/gui.go b/ethereal/ui/gui.go
index 2ba89ce22..01d963332 100644
--- a/ethereal/ui/gui.go
+++ b/ethereal/ui/gui.go
@@ -56,7 +56,7 @@ func New(ethereum *eth.Ethereum) *Gui {
}
func (gui *Gui) Start(assetPath string) {
- const version = "0.5.0 RC12"
+ const version = "0.5.0 RC13"
defer gui.txDb.Close()
@@ -69,7 +69,7 @@ func (gui *Gui) Start(assetPath string) {
Init: func(p *ethpub.KeyVal, obj qml.Object) { p.Key = ""; p.Value = "" },
}})
- ethutil.Config.SetClientString(fmt.Sprintf("/Ethereal v%s", version))
+ ethutil.Config.SetClientString("Ethereal")
// Create a new QML engine
gui.engine = qml.NewEngine()
@@ -356,3 +356,7 @@ func (gui *Gui) ChangeClientId(id string) {
func (gui *Gui) ClientId() string {
return ethutil.Config.Identifier
}
+
+func (gui *Gui) SetLogLevel(level int) {
+ ethutil.Config.Log.SetLevel(level)
+}