playlist: Switch over to using the emmental-favorites icon

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2021-07-31 19:18:17 -04:00
parent 692ca1ff5d
commit f13983269b
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ from gi.repository import Gtk, Gio, GObject
import tagdb
Exclude = [ "Collection", "New Tracks", "Previous" ]
Icons = { "Favorites" : "emblem-favorites",
Icons = { "Favorites" : "emmental-favorites",
"Up Next" : "edit-redo" }

View File

@ -30,7 +30,7 @@ class TestAddPopover(unittest.TestCase):
self.assertEqual(popover.Exclude,
[ "Collection", "New Tracks", "Previous" ])
self.assertEqual(popover.Icons, { "Favorites" : "emblem-favorites",
self.assertEqual(popover.Icons, { "Favorites" : "emmental-favorites",
"Up Next" : "edit-redo" })
self.assertIsInstance(row.box, Gtk.Box)
@ -38,7 +38,7 @@ class TestAddPopover(unittest.TestCase):
self.assertIsInstance(row.label, Gtk.Label)
self.assertEqual(row.tag, tag)
self.assertEqual(row.icon.get_icon_name(), "emblem-favorites")
self.assertEqual(row.icon.get_icon_name(), "emmental-favorites")
self.assertEqual(row.label.get_text(), "Favorites")
self.assertEqual(row.box.get_spacing(), 5)
self.assertEqual(row.get_child(), row.box)