[gnome-music/wip/jfelder/gtk4-v3: 22/118] songliststore: Use insert_with_values




commit be9de381c97ff6c940fb5df200a9028ed40d0e49
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]