Last active
February 14, 2021 17:42
-
-
Save rubiojr/cfec3ed235918466b6ea277be41b61bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/internal/ui/inprogresslist/inprogresslist.go b/internal/ui/inprogresslist/inprogresslist.go | |
index d05f3b4..e25a0c8 100644 | |
--- a/internal/ui/inprogresslist/inprogresslist.go | |
+++ b/internal/ui/inprogresslist/inprogresslist.go | |
@@ -57,7 +57,7 @@ func (i *InProgressList) isShown(tree *gtk.TreeView) { | |
func (i *InProgressList) updateFileList() { | |
//TODO: use leveldb to speed things up without walking the filesystem | |
- i.listBox.BindModel(nil, nil, nil) | |
+ i.listBox.BindModel(nil, nil) | |
for _, doc := range downloader.Instance().DownloadsInProgress() { | |
i.addFileRow(doc.Name) | |
diff --git a/internal/ui/tagger/tagger.go b/internal/ui/tagger/tagger.go | |
index 025ace2..6041e4a 100644 | |
--- a/internal/ui/tagger/tagger.go | |
+++ b/internal/ui/tagger/tagger.go | |
@@ -98,7 +98,7 @@ func (t *Tagger) removeSelected() { | |
func (t *Tagger) saveTags() { | |
var tl []tags.Tag | |
- t.listStore.ForEach(func(model *gtk.TreeModel, path *gtk.TreePath, iter *gtk.TreeIter, userdata ...interface{}) bool { | |
+ t.listStore.ForEach(func(model *gtk.TreeModel, path *gtk.TreePath, iter *gtk.TreeIter) bool { | |
value, _ := t.listStore.GetValue(iter, 0) | |
tname, _ := value.GetString() | |
tag := tags.Tag{Name: tname} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment