[gnome-music/wip/jfelder/gtk4-v3: 28/166] songliststore: Use insert_with_values




commit 893a37bd43cc876d031f8eebdcf0041db5073095
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 20:35:02 2021 +0200

    songliststore: Use insert_with_values

 gnomemusic/songliststore.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/songliststore.py b/gnomemusic/songliststore.py
index 470959702..8e4a928fa 100644
--- a/gnomemusic/songliststore.py
+++ b/gnomemusic/songliststore.py
@@ -84,7 +84,7 @@ class SongListStore(Gtk.ListStore):
             for i in list(range(added)):
                 coresong = model[position + i]
                 time = utils.seconds_to_string(coresong.props.duration)
-                self.insert_with_valuesv(
+                self.insert_with_values(
                     position + i, [2, 3, 4, 5, 6, 7],
                     [coresong.props.title, coresong.props.artist,
                      coresong.props.album, time,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]