Rename ocarina.collection
I have ocarina.collection to ocarina.source to reflect the naming change in libsaria.
This commit is contained in:
parent
ba4488202a
commit
e21bbdc834
|
@ -2,7 +2,7 @@
|
|||
|
||||
import ocarina
|
||||
from ocarina import body
|
||||
from ocarina import collection
|
||||
from ocarina import source
|
||||
import menu
|
||||
|
||||
gtk = ocarina.gtk
|
||||
|
@ -12,7 +12,7 @@ visible = library.is_visible
|
|||
add2plist = None
|
||||
|
||||
libsaria = ocarina.libsaria
|
||||
lib_page = collection.Collection()
|
||||
lib_page = source.Source()
|
||||
|
||||
def init():
|
||||
body.add_page("Library", lib_page)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import ocarina
|
||||
from ocarina import body
|
||||
from ocarina import collection
|
||||
from ocarina import source
|
||||
import menu
|
||||
|
||||
gtk = ocarina.gtk
|
||||
|
@ -10,7 +10,7 @@ sources = ocarina.libsaria.sources
|
|||
playlist = sources.playlist
|
||||
visible = playlist.is_visible
|
||||
|
||||
plist_page = collection.Collection()
|
||||
plist_page = source.Source()
|
||||
|
||||
def init():
|
||||
body.add_page("Playlist", plist_page)
|
||||
|
|
|
@ -116,7 +116,7 @@ class ListView(gtk.TreeView):
|
|||
return True
|
||||
|
||||
|
||||
class Collection(gtk.ScrolledWindow):
|
||||
class Source(gtk.ScrolledWindow):
|
||||
def __init__(self):
|
||||
gtk.ScrolledWindow.__init__(self)
|
||||
self.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
|
Loading…
Reference in New Issue