Enlightenment CVS committal Author : lok Project : e17 Module : apps/emphasis
Dir : e17/apps/emphasis/src/bin Modified Files: emphasis_callbacks.c emphasis_gui.c emphasis_mpc.c Log Message: =================================================================== RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_callbacks.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- emphasis_callbacks.c 17 Jan 2007 01:30:09 -0000 1.19 +++ emphasis_callbacks.c 27 Feb 2007 22:30:11 -0000 1.20 @@ -1142,9 +1142,10 @@ player = data; col = etk_tree_nth_col_get(ETK_TREE(player->media.pls_list), 0); row = etk_tree_selected_row_get(ETK_TREE(player->media.pls_list)); + if (!row) return; etk_tree_row_fields_get(row, ETK_FALSE, col, &playlist_name, NULL); - mpc_playlist_clear(); +// mpc_playlist_clear(); etk_tree_multiple_select_set(ETK_TREE(player->media.pls_content), ETK_TRUE); etk_tree_select_all(ETK_TREE(player->media.pls_content)); emphasis_playlist_append_selected(ETK_TREE(player->media.pls_content), =================================================================== RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_gui.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- emphasis_gui.c 17 Jan 2007 01:30:09 -0000 1.12 +++ emphasis_gui.c 27 Feb 2007 22:30:11 -0000 1.13 @@ -79,7 +79,6 @@ ETK_CALLBACK(cb_pls_contextual_menu), gui); etk_signal_connect("mouse_down", ETK_OBJECT(player->media.track), ETK_CALLBACK(cb_pls_contextual_menu), gui); - } /** =================================================================== RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_mpc.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- emphasis_mpc.c 17 Jan 2007 01:30:09 -0000 1.14 +++ emphasis_mpc.c 27 Feb 2007 22:30:11 -0000 1.15 @@ -557,6 +557,7 @@ { song = mpd_playlist_get_changes(mo, mpd_playlist_get_old_playlist_id(mo)); + if (!song) return; mpc_play_id(song->song->id); mpd_data_free(song); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs