Do not let ebassi see this code

This commit is contained in:
2026-04-28 12:58:00 +01:00
parent fc0ed5ac2c
commit a97c42323c
7 changed files with 323 additions and 426 deletions
+7 -7
View File
@@ -35,12 +35,12 @@ func dropToSignInPage(err error) {
nickname_box := gtk.NewBox(gtk.OrientationHorizontal, 0)
insecure_box := gtk.NewBox(gtk.OrientationHorizontal, 0)
server_label := gtk.NewLabel("Server: ")
username_label := gtk.NewLabel("JID: ")
password_label := gtk.NewLabel("Password: ")
nickname_label := gtk.NewLabel("Nickname: ")
insecure_label := gtk.NewLabel("Insecure: (?)")
insecure_label.SetTooltipText("Tick this if you need to connect without TLS, usually for connecting to Tor XMPP servers")
server_label := gtk.NewLabel(loadedLocale["SIServerLabel"])
username_label := gtk.NewLabel(loadedLocale["SIUsernameLabel"])
password_label := gtk.NewLabel(loadedLocale["SIPasswordLabel"])
nickname_label := gtk.NewLabel(loadedLocale["SINicknameLabel"])
insecure_label := gtk.NewLabel(loadedLocale["SIInsecureLabel"])
insecure_label.SetTooltipText(loadedLocale["SIInsecureLabelTooltip"])
server_entry := gtk.NewEntry()
server_entry.SetHAlign(gtk.AlignEnd)
@@ -83,7 +83,7 @@ func dropToSignInPage(err error) {
form_box.Append(nickname_box)
form_box.Append(insecure_box)
sumbit_btn := gtk.NewButtonWithLabel("Submit")
sumbit_btn := gtk.NewButtonWithLabel(loadedLocale["submit"])
sumbit_btn.ConnectClicked(func() {
conf := new(lambdaConfig)
conf.Server = server_entry.Text()