CVSROOT:        /cvs/gnome
Module name:    rhythmbox
Changes by:     jmatthew        06/07/31 07:52:14

Modified files:
        .              : ChangeLog 
        bindings/python: rb.defs 
        shell          : rb-playlist-manager.c rb-shell-player.c 
                         rb-shell.c rb-shell.h 
        sources        : rb-browser-source.c rb-import-errors-source.c 
                         rb-iradio-source.c rb-library-source.c 
                         rb-missing-files-source.c rb-playlist-source.c 
                         rb-podcast-source.c rb-source.c rb-source.h 
                         rb-static-playlist-source.c 

Log message:
2006-07-31  Jonathan Matthew  <[EMAIL PROTECTED]>

* shell/rb-shell-player.c:
(rb_shell_player_set_playing_source_internal),
(rb_shell_player_sync_with_selected_source):
Remove call to rb_source_have_url, as we never did anything with the
result.

* sources/rb-browser-source.c: (rb_browser_source_class_init):
* sources/rb-import-errors-source.c:
(rb_import_errors_source_class_init):
* sources/rb-iradio-source.c: (rb_iradio_source_class_init),
(impl_song_properties), (impl_want_uri), (impl_add_uri):
* sources/rb-library-source.c: (rb_library_source_class_init),
(impl_want_uri), (impl_add_uri):
* sources/rb-missing-files-source.c:
(rb_missing_files_source_class_init):
* sources/rb-playlist-source.c: (rb_playlist_source_class_init):
* sources/rb-podcast-source.c: (rb_podcast_source_class_init),
(impl_want_uri), (impl_add_uri):
* sources/rb-source.c: (rb_source_class_init),
(rb_source_want_uri), (rb_source_add_uri), (rb_source_handle_eos):
* sources/rb-source.h:
* sources/rb-static-playlist-source.c:
(rb_static_playlist_source_class_init), (search_action_changed),
(impl_want_uri):
Remove unused 'have_url' vfunc, add 'want_uri' and 'add_uri' vfuncs.
When adding a URI, want_uri gets called for each source; the one that
wants it most gets the URI passed to its add_uri method.

* shell/rb-shell.h:
* shell/rb-shell.c: (rb_shell_playing_entry_changed_cb),
(rb_shell_guess_source_for_uri), (rb_shell_add_uri),
(handle_playlist_entry_cb), (rb_shell_load_uri):
* shell/rb-playlist-manager.c: (handle_playlist_entry_cb):
Use want_uri and add_uri to simplify and make generic
rb_shell_add_uri, rb_shell_load_uri, various playlist parsing code.

If a source that returns TRUE from try_playlist wants all the URIs in
the playlist, give it the playlist URI instead.  This retains the
existing behaviour for adding iradio playlists.

* bindings/python/rb.defs: Update for above changes.

>From bug #347097 [http://bugzilla.gnome.org/show_bug.cgi?id=347097].

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=rhythmbox&who=jmatthew&date=explicit&mindate=2006-07-31%2007:51&maxdate=2006-07-31%2007:53

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to