commit ea8b8130fec642ac939fb8b3df744de8d372de6f
Author: Christophe Fergeau <[email protected]>
Date: Mon Aug 30 22:54:48 2010 +0200
improve itdb_parse error message on empty iPods
The error message returned when trying to call itdb_parse on a mount
where neither an iTunesDB or iTunesCDB could be found was referring to
a "(null)" filename that couldn't be found. Changes the error message
to something more sane.
src/itdb_itunesdb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index 0ccf5c8..fbc1949 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -3178,8 +3178,8 @@ Itdb_iTunesDB *itdb_parse (const gchar *mp, GError
**error)
g_set_error (error,
ITDB_FILE_ERROR,
ITDB_FILE_ERROR_NOTFOUND,
- _("File not found: '%s'."),
- filename);
+ _("Couldn't find an iPod database on %s."),
+ mp);
}
g_free (filename);
return itdb;
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2