~pimvullers/beat-box/fix-983560

« back to all changes in this revision

Viewing changes to src/Widgets/SearchSuggester.vala

  • Committer: sgringwe at gmail
  • Date: 2012-04-19 03:28:18 UTC
  • Revision ID: sgringwe@gmail.com-20120419032818-yszrm70kwehwbej7
*More work on removing external songs from LM and allowing playing of externals nonetheless
*_current no holds Media list so that external lists can be current list. Also had to make getNext and
getPrevoius return Media. playMedia now takes a Media rather than int to allow playing externals.
*lm.add_medias() does no longer need is_permanent param.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
                                        var item = create_menu_item(m, GroupType.TOP_MEDIAS);
173
173
                                        append(item);
174
174
                                        item.activate.connect( () => {
175
 
                                                lm.playMedia(m.rowid, false);
 
175
                                                lm.playMedia(m, false);
176
176
                                                if(!lm.playing)
177
177
                                                        lw.playClicked ();
178
178