Beispiel #1
0
 def show_playlist_editor(self, playlist_name):
     view = PlaylistEditView(playlist_name,
                             self._stack.get_allocated_width() / 2)
     view.show()
     self._stack.add(view)
     self._stack.set_visible_child(view)
     start_new_thread(view.populate, ())
Beispiel #2
0
 def show_playlist_editor(self, playlist_name):
     view = PlaylistEditView(playlist_name,
                             self._stack.get_allocated_width()/2)
     view.show()
     self._stack.add(view)
     self._stack.set_visible_child(view)
     start_new_thread(view.populate, ())
Beispiel #3
0
 def show_playlist_editor(self, playlist_name):
     """
         Show playlist editor for playlist
         Current view stay present in ViewContainer
         @param playlist name as str
     """
     view = PlaylistEditView(playlist_name)
     view.show()
     self._stack.add(view)
     self._stack.set_visible_child(view)
     view.populate()
Beispiel #4
0
 def show_playlist_editor(self, playlist_name):
     """
         Show playlist editor for playlist
         Current view stay present in ViewContainer
         @param playlist name as str
     """
     view = PlaylistEditView(playlist_name,
                             self._stack.get_allocated_width()/2)
     view.show()
     self._stack.add(view)
     self._stack.set_visible_child(view)
     start_new_thread(view.populate, ())
Beispiel #5
0
 def show_playlist_editor(self, playlist_id):
     """
         Show playlist editor for playlist
         Current view stay present in ViewContainer
         @param playlist id as int
         @param playlist name as str
     """
     from lollypop.view_playlists import PlaylistEditView
     view = PlaylistEditView(playlist_id)
     view.show()
     self.__stack.add(view)
     self.__stack.set_visible_child(view)
     self.__stack.clean_old_views(view)
     view.populate()
Beispiel #6
0
 def show_playlist_editor(self, playlist_id):
     """
         Show playlist editor for playlist
         Current view stay present in ViewContainer
         @param playlist id as int
         @param playlist name as str
     """
     view = PlaylistEditView(playlist_id)
     view.show()
     self._stack.add(view)
     self._stack.set_visible_child(view)
     view.populate()
Beispiel #7
0
 def show_playlist_editor(self, playlist_name):
     """
         Show playlist editor for playlist
         Current view stay present in ViewContainer
         @param playlist name as str
     """
     view = PlaylistEditView(playlist_name,
                             self._stack.get_allocated_width()/2)
     view.show()
     self._stack.add(view)
     self._stack.set_visible_child(view)
     view.populate()
Beispiel #8
0
 def show_playlist_editor(self, playlist_id):
     """
         Show playlist editor for playlist
         Current view stay present in ViewContainer
         @param playlist id as int
         @param playlist name as str
     """
     from lollypop.view_playlists import PlaylistEditView
     view = PlaylistEditView(playlist_id)
     view.show()
     self.__stack.add(view)
     self.__stack.set_visible_child(view)
     self.__stack.clean_old_views(view)
     view.populate()