format code

This commit is contained in:
2026-05-19 14:07:21 +01:00
parent 5f95df147f
commit af0ec78eae
7 changed files with 12 additions and 12 deletions
+5 -4
View File
@@ -42,11 +42,13 @@ func createTab(jid string, isMuc bool, name string) bool {
newTab := new(chatTab)
newTab.isMuc = isMuc
newTab.msgs = gtk.NewListBox()
newTab.msgs.SetVExpand(true)
newTab.msgs.SetShowSeparators(true)
glib.IdleAdd(func() {
newTab.msgs.SetVExpand(true)
newTab.msgs.SetShowSeparators(true)
newTab.msgs.Append(gtk.NewButtonWithLabel(loadedLocale["getPastMessages"]))
})
newTab.name = name
newTab.msgs.Append(gtk.NewButtonWithLabel(loadedLocale["getPastMessages"]))
tabs.Store(jid, newTab)
return true
}
@@ -215,7 +217,6 @@ func switchToTab(jid string, w *gtk.Window) {
medal.SetHExpand(true)
userbox.Append(medal)
default_av := createIdenticon(u.From, false)
userbox.Prepend(default_av)
var vcu VCardUpdate