Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Temporarily disable sorting, while inserting a lot of entries to list…

… store.
  • Loading branch information...
commit 5085e4ef5644df477e2f50dfa1a0ec6a44f77228 1 parent 4ab3fff
@nsf nsf authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 gogtk-demo/iconview.go
View
4 gogtk-demo/iconview.go
@@ -97,6 +97,10 @@ func create_store() *gtk.ListStore {
}
func fill_store(store *gtk.ListStore) {
+ // temporary disable sorting
+ store.SetSortColumnID(-2, gtk.SortTypeAscending)
+ defer store.SetSortColumnID(-1, gtk.SortTypeAscending)
+
store.Clear()
dir, err := os.Open(parent)
Please sign in to comment.
Something went wrong with that request. Please try again.