rhythmbox r6145 - in trunk: . plugins/generic-player
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r6145 - in trunk: . plugins/generic-player
- Date: Fri, 6 Feb 2009 03:17:57 +0000 (UTC)
Author: jmatthew
Date: Fri Feb 6 03:17:57 2009
New Revision: 6145
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6145&view=rev
Log:
2009-02-06 Jonathan Matthew <jonathan d14n org>
* plugins/generic-player/rb-generic-player-playlist-source.c:
(rb_generic_player_playlist_delete_from_player):
Don't try to use priv->playlist_path as a URI. Fixes deletion of
playlist files from generic player devices.
Modified:
trunk/ChangeLog
trunk/plugins/generic-player/rb-generic-player-playlist-source.c
Modified: trunk/plugins/generic-player/rb-generic-player-playlist-source.c
==============================================================================
--- trunk/plugins/generic-player/rb-generic-player-playlist-source.c (original)
+++ trunk/plugins/generic-player/rb-generic-player-playlist-source.c Fri Feb 6 03:17:57 2009
@@ -365,10 +365,10 @@
GError *error = NULL;
GFile *playlist;
- playlist = g_file_new_for_uri (priv->playlist_path);
+ playlist = g_file_new_for_path (priv->playlist_path);
g_file_delete (playlist, NULL, &error);
if (error != NULL) {
- g_warning ("Deleting playlist failed: %s", error->message);
+ g_warning ("Deleting playlist %s failed: %s", priv->playlist_path, error->message);
g_clear_error (&error);
}
g_object_unref (playlist);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]