Logo Search packages:      
Sourcecode: viridian version File versions  Download package

def AmpacheTools::AmpacheGUI::AmpacheGUI::toggle_playlist_view (   self,
  widget,
  data = None 
)
Toggle the playlist window.

Definition at line 1780 of file AmpacheGUI.py.

                                                       :
            """Toggle the playlist window."""
            if widget.active:
                  if self.downloads_window.flags() & gtk.VISIBLE == False:
                        self.side_panel.show()
                  self.playlist_window.show()
            else:
                  if self.downloads_window.flags() & gtk.VISIBLE== False:
                        self.side_panel.hide()
                  self.playlist_window.hide()
            self.db_session.variable_set('show_playlist', widget.active)
            

Generated by  Doxygen 1.6.0   Back to index