Do not let ebassi see this code
This commit is contained in:
+7
-7
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user