[gnome-music/wip/mschraal/gtk4-v2: 15/60] songliststore: Use insert_with_values




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