Commit da2d4ab
authored
fix: prevent exception when updating a bottle's dependecy list view (#4045)
When calling `DetailsDependenciesView.update()`, addition of new
dependency rows were scheduled by calling `GLib.idle_add(new_dependency,
dep, plain=True)`, which (AFAIU) was wrong for the following reasons:
* `GLib.idle_add()` doesn't support keyword arguments other than
"priority" (as an alias for `GLib.idle_add(priority, func, *args)`).
This ended up raising "unknown keyword argument" exceptions.
* When a `DependencyEntryRow`, is created with `plain=True` then the
dependency argument must be a string, not a tuple.1 parent 6edfc00 commit da2d4ab
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
0 commit comments