diff --git a/doc/screenshots/0.1-main_window.png b/doc/screenshots/0.1-main_window.png index afe82d5..39547ca 100644 Binary files a/doc/screenshots/0.1-main_window.png and b/doc/screenshots/0.1-main_window.png differ diff --git a/ui/mainwindow.go b/ui/mainwindow.go index b82954b..3f77e78 100644 --- a/ui/mainwindow.go +++ b/ui/mainwindow.go @@ -893,8 +893,12 @@ func (m *MainWindow) launchGame() error { } // Hey, we're ok here! :) Launch Urban Terror! + // Crear server name from "" things. + srv_name_for_label := string([]byte(server_name)[8:len(server_name)-9]) + fmt.Println(srv_name_for_label) + // Show great coloured label. m.statusbar.Push(m.statusbar_context_id, "Launching Urban Terror...") - m.toolbar_label.SetMarkup("Urban Terror is launched with profile " + profile[0].Name + " and connected to " + srv_address + "") + m.toolbar_label.SetMarkup("Urban Terror is launched with profile " + profile[0].Name + " and connected to " + srv_name_for_label + "") m.launch_button.SetSensitive(false) // ToDo: handling server passwords. ctx.Launcher.Launch(&profile[0], srv_address, "", m.unlockInterface)