forked from jshiffer/go-xmpp
fix example-gui.
This commit is contained in:
parent
f8ce0ead60
commit
2ec48a2db6
@ -40,7 +40,7 @@ func main() {
|
||||
hbox := gtk.HBox(false, 1)
|
||||
dialog.GetVBox().Add(hbox)
|
||||
label := gtk.Label("username:")
|
||||
sgroup.Add(label)
|
||||
sgroup.AddWidget(label)
|
||||
hbox.Add(label)
|
||||
username := gtk.Entry()
|
||||
hbox.Add(username)
|
||||
@ -48,7 +48,7 @@ func main() {
|
||||
hbox = gtk.HBox(false, 1)
|
||||
dialog.GetVBox().Add(hbox)
|
||||
label = gtk.Label("password:")
|
||||
sgroup.Add(label)
|
||||
sgroup.AddWidget(label)
|
||||
hbox.Add(label)
|
||||
password := gtk.Entry()
|
||||
password.SetVisibility(false)
|
||||
|
Loading…
Reference in New Issue
Block a user