Example #1
0
 def on_track_properties(self, *e):
     pl = self.main.get_selected_playlist()
     if not pl.properties_dialog():
         if self.exaile.player.current:
             from xlgui import properties
             dialog = properties.TrackPropertiesDialog(
                 self.main.window, [self.exaile.player.current])
             dialog.hide()
Example #2
0
def _properties_cb(widget, name, parent, context, get_tracks_func,
                   dialog_parent):
    tracks = get_tracks_func(parent, context)
    if tracks:
        dialog = properties.TrackPropertiesDialog(dialog_parent, tracks)
Example #3
0
def _properties_cb(widget, name, parent, context, get_tracks_func):
    tracks = get_tracks_func(parent, context)
    if tracks:
        assert isinstance(parent, panel.Panel)
        properties.TrackPropertiesDialog(parent.parent, tracks)