Changes

Line 68: Line 68:  
  index = sel_model.get_value(sel_model.get_iter(row), 0)
 
  index = sel_model.get_value(sel_model.get_iter(row), 0)
 
  self._playlist.pop(index)
 
  self._playlist.pop(index)
 +
 +
== Sugar ObjectChooser ==
 +
 +
Some arguments are deprecated in the ''sugar-toolkit-gtk3'' version
 +
 +
chooser = ObjectChooser(_('Choose document'), self,
 +
            gtk.DIALOG_MODAL |
 +
            gtk.DIALOG_DESTROY_WITH_PARENT,
 +
            what_filter=mime.GENERIC_TYPE_AUDIO)
 +
 +
replaced by:
 +
 +
chooser = ObjectChooser(self, what_filter=mime.GENERIC_TYPE_AUDIO)
    
= Notes =
 
= Notes =
266

edits