aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/gui.go
diff options
context:
space:
mode:
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)
+}