From: <ti...@us...> - 2007-10-08 03:45:53
|
Revision: 1723 http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1723&view=rev Author: tiffman Date: 2007-10-07 20:45:55 -0700 (Sun, 07 Oct 2007) Log Message: ----------- patch to set "changed" and "imported" to TRUE for non-ipod (local and podcast) databases Modified Paths: -------------- gtkpod/trunk/ChangeLog_detailed gtkpod/trunk/src/display_itdb.c Modified: gtkpod/trunk/ChangeLog_detailed =================================================================== --- gtkpod/trunk/ChangeLog_detailed 2007-10-07 11:33:30 UTC (rev 1722) +++ gtkpod/trunk/ChangeLog_detailed 2007-10-08 03:45:55 UTC (rev 1723) @@ -1,3 +1,9 @@ +2007-10-07 Michael Tiffany <tiffman at users.sourceforge.net> + + * src/display_itdb.c: patch to set "changed" and "imported" to + TRUE for non-ipod (local and podcast) databases + Thanks to Mario Rossi. + 2007-10-04 Jorg Schuler <jcsjcs at users.sourceforge.net> * src/details.c Modified: gtkpod/trunk/src/display_itdb.c =================================================================== --- gtkpod/trunk/src/display_itdb.c 2007-10-07 11:33:30 UTC (rev 1722) +++ gtkpod/trunk/src/display_itdb.c 2007-10-08 03:45:55 UTC (rev 1723) @@ -998,8 +998,16 @@ itdb_playlist_set_mpl (pl); itdb_playlist_add (itdb, pl, -1); - eitdb->data_changed = FALSE; - eitdb->itdb_imported = FALSE; + if ((type & GP_ITDB_TYPE_PODCASTS) || (type & GP_ITDB_TYPE_LOCAL)) + { + eitdb->data_changed = TRUE; + eitdb->itdb_imported = TRUE; + } + else + { + eitdb->data_changed = FALSE; + eitdb->itdb_imported = FALSE; + } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |