diff options
author | Andy Hertzfeld <andy@src.gnome.org> | 2000-08-04 07:33:47 +0000 |
---|---|---|
committer | Andy Hertzfeld <andy@src.gnome.org> | 2000-08-04 07:33:47 +0000 |
commit | 3d32a8cfc7f587bf07dc6753dfeeb8823f51f71f (patch) | |
tree | 20f1efb28d070114a10d9b5d499c68adc3528bf1 /components/music/nautilus-music-view.c | |
parent | 3935ef2bd332586a5fe422e304202e2727b20614 (diff) | |
download | nautilus-3d32a8cfc7f587bf07dc6753dfeeb8823f51f71f.tar.gz |
fixed bug 1910, there is no way to stop a song once you leave the music
fixed bug 1910, there is no way to stop a song once you leave
the music view, by taking the coward's way out and stopping
the playing when the music view is exited/destroyed.
Diffstat (limited to 'components/music/nautilus-music-view.c')
-rw-r--r-- | components/music/nautilus-music-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/music/nautilus-music-view.c b/components/music/nautilus-music-view.c index b56a0790e..be49d5a0b 100644 --- a/components/music/nautilus-music-view.c +++ b/components/music/nautilus-music-view.c @@ -296,6 +296,10 @@ nautilus_music_view_destroy (GtkObject *object) { NautilusMusicView *music_view = NAUTILUS_MUSIC_VIEW (object); + /* we'd rather allow the song to keep playing, but it's hard to main state */ + /* so we stop things on exit for now, and improve it post 1.0 */ + stop_playing_file(); + g_free (music_view->details->uri); g_free (music_view->details); @@ -1399,6 +1403,7 @@ nautilus_music_view_drag_data_received (GtkWidget *widget, GdkDragContext *conte switch (info) { case TARGET_GNOME_URI_LIST: case TARGET_URI_LIST: + /* FIXME: the music view should accept mp3 files */ g_message ("dropped data on music_view: %s", selection_data->data); break; |