All pastes #471881 Raw Edit

Unnamed

public python v1 · immutable
·published 2007-05-05 05:06 UTC
rendered paste body
def create_popup(self):        # some code missed        # I've added the following:        menu.append_separator()        self.load = menu.append(_("Load"),            self.load_to_playlist)    def load_to_playlist(self, widget, item=None, event=None):        """            Loads items to the playlist (clear playlist and add items then)        """        self.exaile.clear_playlist(widget)        add = self.get_selected_items()        self.exaile.append_songs(add, False, True)