diff --git a/README.md b/README.md index 20cb507..67b6879 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Join the chat at https://gitter.im/urtrator/Lobby](https://badges.gitter.im/urtrator/Lobby.svg)](https://gitter.im/urtrator/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +Chat on Matrix: #gitter_urtrator=2Flobby:matrix.org (Gitter bridge). + ![Main Window](/doc/screenshots/0.1-main_window.png) URTrator is a desktop application that should (eventually) replace diff --git a/ui/mainwindow_servers_sorting.go b/ui/mainwindow_servers_sorting.go index b2e7cbd..223ccfe 100644 --- a/ui/mainwindow_servers_sorting.go +++ b/ui/mainwindow_servers_sorting.go @@ -25,8 +25,8 @@ func (m *MainWindow) sortServersByName(model *gtk.TreeModel, a *gtk.TreeIter, b return 0 } - name1 := ctx.Colorizer.ClearFromMarkup(name1_raw.GetString()) - name2 := ctx.Colorizer.ClearFromMarkup(name2_raw.GetString()) + name1 := strings.ToLower(ctx.Colorizer.ClearFromMarkup(name1_raw.GetString())) + name2 := strings.ToLower(ctx.Colorizer.ClearFromMarkup(name2_raw.GetString())) if name1 < name2 { return -1