diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xfmedia/xfmedia-empty-prev-next-fix.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xfmedia/xfmedia-empty-prev-next-fix.patch')
-rw-r--r-- | community/xfmedia/xfmedia-empty-prev-next-fix.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/xfmedia/xfmedia-empty-prev-next-fix.patch b/community/xfmedia/xfmedia-empty-prev-next-fix.patch new file mode 100644 index 000000000..e2d0d8166 --- /dev/null +++ b/community/xfmedia/xfmedia-empty-prev-next-fix.patch @@ -0,0 +1,25 @@ +diff -wbBur xfmedia-0.9.2/src/mainwin.c xfmedia-0.9.2.my/src/mainwin.c +--- xfmedia-0.9.2/src/mainwin.c 2006-11-27 07:21:23.000000000 +0000 ++++ xfmedia-0.9.2.my/src/mainwin.c 2010-11-01 13:01:17.000000000 +0000 +@@ -1865,6 +1865,10 @@ + gboolean use_playlist_q = xfmedia_playlist_queue_n_entries(mwin->playlist_q); + gboolean ret = FALSE; + ++ if(xfmedia_playlist_get_n_entries(mwin->plist) == 0) ++// if(xfmedia_playlist_queue_is_empty(mwin->plist)) ++ return; ++ + if(mwin->cur_playing + && xfmedia_settings_get_bool("/xfmedia/playlist/shuffle") + && !use_playlist_q ) +@@ -1899,6 +1903,10 @@ + { + gint tot_items, idx = -1; + ++ if(xfmedia_playlist_get_n_entries(mwin->plist) == 0) ++// if(xfmedia_playlist_queue_is_empty(mwin->plist)) ++ return; ++ + if(xfmedia_settings_get_bool("/xfmedia/playlist/shuffle")) { + XfmediaPlaylistEntryRef *ref = NULL; + gboolean playing = FALSE; |