aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/gui.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-17 00:24:57 +0800
committerobscuren <geffobscura@gmail.com>2014-06-17 00:24:57 +0800
commit98335d2040bbd2b18a238b4ffa47e50507fffb31 (patch)
tree1fde3dfa00d0e784556ec625ef5b4906607d98aa /ethereal/ui/gui.go
parentaa8a86f0a61286b3d0709316215ce6e9d3833f25 (diff)
parentc1220e87293e440f842095c5a601515c0c8f5cb0 (diff)
downloaddexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar
dexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.gz
dexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.bz2
dexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.lz
dexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.xz
dexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.zst
dexon-98335d2040bbd2b18a238b4ffa47e50507fffb31.zip
Merge branch 'release/0.5.13'
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)
+}