playlist: Switch over to using the emmental-favorites icon
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
parent
692ca1ff5d
commit
f13983269b
|
@ -3,7 +3,7 @@ from gi.repository import Gtk, Gio, GObject
|
||||||
import tagdb
|
import tagdb
|
||||||
|
|
||||||
Exclude = [ "Collection", "New Tracks", "Previous" ]
|
Exclude = [ "Collection", "New Tracks", "Previous" ]
|
||||||
Icons = { "Favorites" : "emblem-favorites",
|
Icons = { "Favorites" : "emmental-favorites",
|
||||||
"Up Next" : "edit-redo" }
|
"Up Next" : "edit-redo" }
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ class TestAddPopover(unittest.TestCase):
|
||||||
|
|
||||||
self.assertEqual(popover.Exclude,
|
self.assertEqual(popover.Exclude,
|
||||||
[ "Collection", "New Tracks", "Previous" ])
|
[ "Collection", "New Tracks", "Previous" ])
|
||||||
self.assertEqual(popover.Icons, { "Favorites" : "emblem-favorites",
|
self.assertEqual(popover.Icons, { "Favorites" : "emmental-favorites",
|
||||||
"Up Next" : "edit-redo" })
|
"Up Next" : "edit-redo" })
|
||||||
|
|
||||||
self.assertIsInstance(row.box, Gtk.Box)
|
self.assertIsInstance(row.box, Gtk.Box)
|
||||||
|
@ -38,7 +38,7 @@ class TestAddPopover(unittest.TestCase):
|
||||||
self.assertIsInstance(row.label, Gtk.Label)
|
self.assertIsInstance(row.label, Gtk.Label)
|
||||||
|
|
||||||
self.assertEqual(row.tag, tag)
|
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.label.get_text(), "Favorites")
|
||||||
self.assertEqual(row.box.get_spacing(), 5)
|
self.assertEqual(row.box.get_spacing(), 5)
|
||||||
self.assertEqual(row.get_child(), row.box)
|
self.assertEqual(row.get_child(), row.box)
|
||||||
|
|
Loading…
Reference in New Issue