[gnome-music/wip/mschraal/gtk4-v2: 17/55] songliststore: Use insert_with_values




commit 0d18052b60fd5f94724a4a964c3349683bec36fe
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]