summaryrefslogtreecommitdiff
path: root/src/rhlibrary/app_window.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhlibrary/app_window.go')
-rw-r--r--src/rhlibrary/app_window.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rhlibrary/app_window.go b/src/rhlibrary/app_window.go
index cf8ef18..2ed4c6a 100644
--- a/src/rhlibrary/app_window.go
+++ b/src/rhlibrary/app_window.go
@@ -25,6 +25,8 @@
package main
import (
+ "fmt"
+
"code.helsinki.at/rhrd-go/player"
"code.helsinki.at/rhrd-go/rddb"
"github.com/gotk3/gotk3/gtk"
@@ -73,7 +75,7 @@ func NewAppWindow(db *rddb.DBChan, player *player.PlayerChan, width, height int)
if aw.win, err = gtk.WindowNew(gtk.WINDOW_TOPLEVEL); err != nil {
return
}
- aw.win.SetTitle("rhlibrary")
+ aw.win.SetTitle(fmt.Sprintf("rhlibrary: logged in as %s", rhuser.Username))
aw.win.Connect("destroy", func() {
gtk.MainQuit()
})