go-gtk fixed default sorting, so unlock it for all OSes.
This commit is contained in:
parent
e731653652
commit
4516abb916
@ -439,12 +439,7 @@ func (m *MainWindow) InitializeTabs() {
|
|||||||
|
|
||||||
// Sorting.
|
// Sorting.
|
||||||
// By default we are sorting by server name.
|
// By default we are sorting by server name.
|
||||||
// ToDo: remembering it to configuration storage.
|
m.all_servers_store_sortable.SetSortColumnId(m.column_pos["Servers"]["Name"], gtk.SORT_ASCENDING)
|
||||||
// For some reason this cause panic on Windows, so disabling
|
|
||||||
// default sorting here.
|
|
||||||
if runtime.GOOS != "windows" {
|
|
||||||
m.all_servers_store_sortable.SetSortColumnId(m.column_pos["Servers"]["Name"], gtk.SORT_ASCENDING)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sorting functions.
|
// Sorting functions.
|
||||||
// Race conditions and GC crazyness appears when activated, so for
|
// Race conditions and GC crazyness appears when activated, so for
|
||||||
|
Reference in New Issue
Block a user